-
Notifications
You must be signed in to change notification settings - Fork 16
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
feat: SVdb merge SV and CNV #886
Changes from all commits
2c09b74
b5dc48c
1fd9d47
0c7d2aa
6658601
8105a03
922823c
b13d1c5
f4b64ba
f970fa3
8688806
18b3de9
880e860
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -75,7 +75,7 @@ def get_variant_callers( | |
WorkflowRunError if values are not valid | ||
""" | ||
|
||
valid_variant_callers = set() | ||
valid_variant_callers = list() | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Changing from list to set might cause redundant entries :-) Make sure you remove them and order it properly now. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I looked into this and it is not generating redundant entries. The workflow does not show any changes. Using set() generates random order and this has significant impact on the results. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This can be ambiguous if/when orders change. Just something to keep it in mind. |
||
if mutation_type not in MUTATION_TYPE: | ||
raise WorkflowRunError(f"{mutation_type} is not a valid mutation type.") | ||
|
||
|
@@ -99,7 +99,7 @@ def get_variant_callers( | |
and workflow_solution in variant_caller_params.get("workflow_solution") | ||
and sequencing_type in variant_caller_params.get("sequencing_type") | ||
): | ||
valid_variant_callers.add(variant_caller_name) | ||
valid_variant_callers.append(variant_caller_name) | ||
return list(valid_variant_callers) | ||
|
||
|
||
|
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.
Shouldn't this work?
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.
or maybe not. wildcard is the limiting factor, and can cause an issue. Ignore this :-)
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.
Also, input is not a list and will not iterate in for....