-
Notifications
You must be signed in to change notification settings - Fork 80
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
[MRG] rename covered_bp
property to better reflect function
#2050
Conversation
Codecov Report
@@ Coverage Diff @@
## latest #2050 +/- ##
==========================================
+ Coverage 84.27% 91.73% +7.46%
==========================================
Files 130 99 -31
Lines 15240 10959 -4281
Branches 2151 2151
==========================================
- Hits 12843 10053 -2790
+ Misses 2098 607 -1491
Partials 299 299
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
covered_bp
property to better reflect functioncovered_bp
property to better reflect function
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.
Assuming tests pass, LGTM!
And just to triple confirm, there is no change in the CSV output headers here, right?
Thanks! Yep - no change to output, just more accurate/specific/intuitive(?) internal names. |
This PR renames
covered_bp
property tounique_dataset_hashes
to reflect the fact that it does not take into account abundances and does not include+(k-1)
for bp conversion. While this is currently an estimate ofscaled * len(self.hashes)
, this could be replaced by a more accurate count/estimate in the future (e.g. HLL, ref #2030).I also rename the
intersect_bp
property ofFracMinHashComparison
tototal_unique_intersect_hashes
to be a bit clearer that we're working in hashes. Wrote a comment that this is approx equal tointersect_bp
.Open to better names, ofc -- please suggest if you have them.
This is the simplified version of #2027.