-
Notifications
You must be signed in to change notification settings - Fork 74
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
Normalize pair coalescence counts/rates using non-missing span #3059
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3059 +/- ##
=======================================
Coverage 89.85% 89.86%
=======================================
Files 29 29
Lines 32137 32150 +13
Branches 5765 5768 +3
=======================================
+ Hits 28877 28890 +13
Misses 1859 1859
Partials 1401 1401
Flags with carried forward coverage won't be shown. Click here to find out more.
|
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, great use of the num_edges
count 👍
We do need to update the changelog for this, though, as it's a significant bugfix |
What's the best way to check for NAN in the C library? I see there's a Edit ah whoops I see there's an |
Update changelog Update changelog Docstring fix, more tests
e6ec5f7
to
29f2c92
Compare
The changelog is updated, and I added some tests checking the behavior of the statistics on empty windows. In particular, |
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.
LGTM. Great to see these awkward corner cases getting hit so soon, this stuff is definitely getting used!
Fixes #3053