Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduces 'path' as an alternative to 'raster_path' with a deprecation warning #569

Closed
wants to merge 3 commits into from

Conversation

manascb1344
Copy link

No description provided.

@bw4sz bw4sz self-requested a review December 8, 2023 00:33
@bw4sz
Copy link
Collaborator

bw4sz commented Dec 8, 2023

Thanks for this PR. Just need to add 'path' to the doc string.

image (array): Numpy image array in BGR channel order

I've been setting DeepForest 2.0 as the Deprecation time for these function arguments.

closes #545

Copy link
Collaborator

@bw4sz bw4sz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just need a doc string and specify that DeepForest 2.0 is the deprecation version for that arg. Thanks!

@manascb1344
Copy link
Author

Just need a doc string and specify that DeepForest 2.0 is the deprecation version for that arg. Thanks!

So are the changes enough or any more changes needed?

"The 'raster_path' argument is deprecated and will be removed in future versions. Use 'path' instead.",
DeprecationWarning
)
path = raster_path
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where are we using this value path?

Abhishek-kumar0503 added a commit to Abhishek-kumar0503/DeepForest that referenced this pull request Mar 5, 2024
@ethanwhite
Copy link
Member

Thanks for the contribution @manascb1344. I'm going to close this PR in favor of #617 since this one just adds the argument but doesn't make all of the downstream changes to make that new argument work. Those changes are all completed in #617 if you want to see a complete set of changes for this issue looks like.

@ethanwhite ethanwhite closed this Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants