Skip to content
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

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

unword consonants as list #322

wants to merge 9 commits into from

Conversation

johnlees
Copy link
Member

Fixes #321

@johnlees johnlees marked this pull request as ready for review August 19, 2024 08:32
@johnlees johnlees mentioned this pull request Aug 19, 2024
Copy link
Collaborator

@nickjcroucher nickjcroucher left a 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')
Copy link
Collaborator

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")
Copy link
Collaborator

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?

@nickjcroucher nickjcroucher mentioned this pull request Oct 9, 2024
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

--fit-model error
2 participants