-
Notifications
You must be signed in to change notification settings - Fork 78
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] Remove deprecated compare
from minhash tests
#1129
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1129 +/- ##
==========================================
+ Coverage 83.89% 93.02% +9.12%
==========================================
Files 98 74 -24
Lines 9124 5810 -3314
==========================================
- Hits 7655 5405 -2250
+ Misses 1469 405 -1064
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report at Codecov.
|
compare
from minhash testscompare
from minhash tests
Ready for review @luizirber |
Fixes #1101, removing lots of deprecation warnings :)
Ref #882 #889 for original code changes that led to deprecation, specifically this line.
In #889 we deprecated
compare
in favor ofjaccard
in the MinHash Python API becausejaccard
is by definition a similarity metric that does not take into account abundance.compare
andsimilarity
were confusingly alike in their name.This PR replaces
compare
with eithersimilarity
(for calculations with abundance) orjaccard
(for calculations without abundance).The only tricky bit here for migration is that the user will need to choose
similarity
orjaccard
in the future.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?