-
Notifications
You must be signed in to change notification settings - Fork 54
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
Feature: Only detect features if all previous thresholds have been met #283
Feature: Only detect features if all previous thresholds have been met #283
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## RC_v1.5.0 #283 +/- ##
=============================================
+ Coverage 54.60% 54.77% +0.17%
=============================================
Files 15 15
Lines 3170 3182 +12
=============================================
+ Hits 1731 1743 +12
Misses 1439 1439
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
@freemansw1 should we aim to include this in v1.5 so that it does not clash with the shift to xarray for v1.6? |
If we can do it quickly. I am disinclined from adding more that we need to wait on. If we decide to wait on this, we can always include a minor feature like this in a v1.5.x release before v1.6. |
I think I will need some more time to polish this PR (e.g. add unit tests). Therefore, I would be in favor of including this in a minor release as @freemansw1 suggested. |
Had a quick look just now and it looks good, will have a closer look at the tests as requested. I did find a separate bug that is shown in the example notebook regarding previously detected features (#298), so that's a nice catch! |
absolutely no problem, Thank you @w-k-jones |
Have created a PR for this change at lettlini#1 (comment) |
…feature_thresholds is empty
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice job, @lettlini! I had a detailed look at both the unit test and the example notebook and I think they are both clear and make sense. So approved from my side.
Also, nice catch on the remove_parents
bug @w-k-jones !
Add removal of parent features at any lower threshold
Just noting that we should hold off on merging this until #298 is resolved. |
Apologies, I should have been a bit more explicit. #298 is resolved within this PR, as I added it directly to Kolya's branch to avoid any conflicts (see lettlini#1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @w-k-jones for the clarification. I'm happy for this to be merged, then!
This PR introduces the ability to only detect features if all previous thresholds have been met as discussed in #261.