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

Fix bug causing mip workflow start to fail #2769

Merged
merged 3 commits into from
Dec 14, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions cg/meta/workflow/analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,12 @@

def add_gene_panel_combo(default_panels: set[str]) -> set[str]:
"""Add gene panels combinations for gene panels being part of gene panel combination and return updated gene panels."""
all_panels = default_panels
additional_panels = set()
for panel in default_panels:
if panel in GenePanelCombo.COMBO_1:
all_panels |= GenePanelCombo.COMBO_1.get(panel)
return all_panels
additional_panels |= GenePanelCombo.COMBO_1.get(panel)
default_panels |= additional_panels
return default_panels


class AnalysisAPI(MetaAPI):
Expand Down
Loading