-
Notifications
You must be signed in to change notification settings - Fork 76
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
More refactoring of MinHash comparison code #882
Conversation
Codecov Report
@@ Coverage Diff @@
## master #882 +/- ##
===========================================
+ Coverage 50.23% 78.06% +27.83%
===========================================
Files 25 95 +70
Lines 2365 7308 +4943
===========================================
+ Hits 1188 5705 +4517
- Misses 1177 1603 +426
Continue to review full report at Codecov.
|
Ready for review @luizirber, and thx for the suggestion, @kloetzl ! |
Uh, nice. That really reduced the line count. Less lines, less bugs! |
On Sun, Feb 02, 2020 at 05:36:17AM -0800, Fabian Klötzl wrote:
Uh, nice. That really reduced the line count. Less lines, less bugs!
yep, thank you!
|
OK I think this is ready. |
I'll fix the |
Fixes #868.
jaccard
andangular_similarity
to do the actual math on compatible signaturescompare
andsimilarity
call the samecompare
function on rust sidedownsample_max_hash
I made the decision to just simplify and rationalize the rust side of things, because our Python API for MinHash objects (in
sourmash/_minhash.py
) probably shouldn't change without a major version release...make test
Did it pass the tests?make coverage
Is the new code covered?without a major version increment. Changing file formats also requires a
major version number increment.
changes were made?