-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MRG] Add
clear
option to set_abundances(...) method (#1046)
* add no_clear optional argument for set_abundances(...) * added add_hash_with_abundance(...) to MinHash API * fixed small syntax errors with last commit * added add_hash_with_abundance(), added tests * expose MinHash clear() method to python API * fixed set_abundances() to overwrite already set abundances * set_hash_with_abundance() in rust * fixed changes clutter and added no_clear benchmark * moved more code to rust for faster performance * removed extra function * revert override already set abundances changes, fix and add tests * raise error when add_hash_with_abundance() called on track_abundance=False MinHash : Co-authored-by: Erik Young <[email protected]> Co-authored-by: Luiz Irber <[email protected]> Co-authored-by: C. Titus Brown <[email protected]>
- Loading branch information
1 parent
8f5a55b
commit a6800f1
Showing
6 changed files
with
149 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters