Skip to content

Commit

Permalink
Added alleles as a list to cgmlst report
Browse files Browse the repository at this point in the history
  • Loading branch information
kriskiil committed Dec 12, 2024
1 parent 0c9aadd commit b093a77
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bifrost_chewbbaca/datadump.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ def extract_cgmlst(cgmlst: Category, results: Dict, component_name: str) -> None

cgmlst["report"]["schema"] = {"name": schema_name(component_name), "digest": schema_digest(locus_names)}
cgmlst["report"]["alleles"] = allele_dict
cgmlst["report"]["allele_array"] = allele_values
cgmlst["report"]["loci"] = locus_names


Expand All @@ -77,6 +78,7 @@ def datadump(samplecomponent_ref_json: Dict):
"schema":{},
"loci": [],
"alleles": {},
"allele_array": [],
},
}
)
Expand Down

0 comments on commit b093a77

Please sign in to comment.