-
Notifications
You must be signed in to change notification settings - Fork 20
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
unword consonants as list #322
base: master
Are you sure you want to change the base?
Conversation
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.
Nice - took me a while to understand the cluster merging, but looks good - sorry for not spotting this needed a review earlier. Is it worth addding a test for the fast pruning mode? Also based on the current CI tests it looks like the extractReferences
call in __main__
is missing a merged_queries
argument.
@@ -47,7 +47,7 @@ def get_options(): | |||
'[default = 0]', default=0, type=int) | |||
oGroup.add_argument('--write-references', help='Write reference database isolates\' cluster assignments out too', | |||
default=False, action='store_true') | |||
oGroup.add_argument('--update-db', help='Update reference database with query sequences', default=False, action='store_true') | |||
oGroup.add_argument('--update-db', help='Update reference database with query sequences', default=False, choices=['full', 'fast', False]) | |||
oGroup.add_argument('--overwrite', help='Overwrite any existing database files', default=False, action='store_true') |
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.
Should this help change with the new options?
@@ -279,7 +317,8 @@ def extractReferences(G, dbOrder, outPrefix, outSuffix = '', type_isolate = None | |||
sys.exit(1) | |||
|
|||
if use_gpu: | |||
|
|||
if fast_mode: | |||
raise RuntimeError("GPU graphs not yet supported with --update-db fast") |
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.
This shouldn't be hard to implement in principle, but maybe we can create a general issue for a network.py
update (including the function structures identified in #328) and work out the most efficient way to get this working across all modes clearly?
Fixes #321