Skip to content

Commit

Permalink
fix genetic models parsing in panels
Browse files Browse the repository at this point in the history
  • Loading branch information
northwestwitch committed Dec 10, 2021
1 parent 78480be commit ede9225
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scout/parse/panel.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def parse_gene(gene_info):

# Collect whichever model provided by the user.
# Then populate inheritance_models and custom_inheritance_models on gene build step
gene["inheritance_models"] = [model.strip() for model in models.split(",")]
gene["inheritance_models"] = [model.strip() for model in models.split(",") if model != ""]

# If a gene is known to be associated with mosaicism this is annotated
gene["mosaicism"] = bool(gene_info.get("mosaicism"))
Expand Down

0 comments on commit ede9225

Please sign in to comment.