-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MRG] refactor & clean up database loading around MultiIndex class (#…
…1406) * add an IndexOfIndexes class * rename to MultiIndex * switch to using MultiIndex for loading from a directory * some more MultiIndex tests * add test of MultiIndex.signatures * add docstring for MultiIndex * stop special-casing SIGLISTs * fix test to match more informative error message * switch to using LinearIndex.load for stdin, too * add __len__ to MultiIndex * add check_csv to check for appropriate filename loading info * add comment * fix databases load * more tests needed * add tests for incompatible signatures * add filter to LinearIndex and MultiIndex * clean up sourmash_args some more * shift loading over to Index classes * refactor, fix tests * switch to a list of loader functions * comments, docstrings, and tests passing * update to use f strings throughout sourmash_args.py * add docstrings * update comments * remove unnecessary changes * revert to original test * remove unneeded comment * clean up a bit * debugging update * better exception raising and capture for signature parsing * more specific error message * revert change in favor of creating new issue * add commentary => TODO * add tests for MultiIndex.load_from_directory; fix traverse code * switch lca summarize over to usig MultiIndex * switch to using MultiIndex in categorize * remove LoadSingleSignatures * test errors in lca database loading * remove unneeded categorize code * add testme info * verified that this was tested * remove testme comments * add tests for MultiIndex.load_from_file_list * Expand signature selection and compatibility checking in database loading code (#1420) * refactor select, add scaled/num/abund * fix scaled check for LCA database * add debug_literal * fix scaled check for SBT * fix LCA database ksize message & test * add 'containment' to 'select' * added 'is_database' flag for nicer UX * remove overly broad exception catching * document downsampling foo * fix file_list -> pathlist * fix typo
- Loading branch information
Showing
12 changed files
with
616 additions
and
352 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
Oops, something went wrong.