-
Notifications
You must be signed in to change notification settings - Fork 144
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
Fix operation on segment when result is NaN #822
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #822 +/- ##
=======================================
Coverage 96.49% 96.50%
=======================================
Files 45 45
Lines 9138 9149 +11
=======================================
+ Hits 8818 8829 +11
Misses 320 320 ☔ View full report in Codecov by Sentry. |
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.
Hi @matteobachetti,
my only comment would be to expand the example in the docstring of analyze_segments showing what is the results of the function when there is at least one segment that results in a NaN
This is a quick fix to #821
Resolve #821