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

Parameter warnings #107

Merged
merged 4 commits into from
Apr 7, 2022
Merged

Conversation

w-k-jones
Copy link
Member

Issues #67 and #63 raised times in which duplicate or redundant parameters are used in feature detection and tracking. This PR adds future warnings for two parameters that are to be depreciated in future (min_num in feature detection and d_min in tracking) and adds an exception if multiple conflicting parameters are used. Example notebooks and tests have been updated to stop using depreciated parameters.

@w-k-jones w-k-jones requested a review from freemansw1 April 7, 2022 14:35
@w-k-jones w-k-jones added this to the Version 1.3 milestone Apr 7, 2022
@w-k-jones
Copy link
Member Author

Thought it would be good to add depreciation warnings for the v1.3 release so that they are visible for a time before we fully remove the depreciated parameters

Copy link
Member

@freemansw1 freemansw1 left a comment

Choose a reason for hiding this comment

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

I'm very happy with this approach, thanks for tackling it.

@w-k-jones w-k-jones merged commit c0e8746 into tobac-project:dev Apr 7, 2022
@w-k-jones w-k-jones added the enhancement Addition of new features, or improved functionality of existing features label Apr 7, 2022
@w-k-jones w-k-jones deleted the parameter_warnings branch December 18, 2022 00:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Addition of new features, or improved functionality of existing features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants