We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d7b0ab3 commit 3afe747Copy full SHA for 3afe747
microSALT/utils/referencer/utils.py
@@ -33,10 +33,10 @@ def is_klebsiella(species_name) -> bool:
33
34
def get_reference_if_enterobacteriaceae(organism_name: str) -> str:
35
"""Returns the reference for the organism name if it belongs to Enterobacteriaceae."""
36
- GENUS_REFERENCE_MAP = {
+ GENUS_REFERENCE_MAP = [
37
(is_escherichia, ESCHERICHIA_REFERENCE),
38
(is_klebsiella, KLEBSIELLA_REFERENCE),
39
- }
+ ]
40
41
species: str = get_species(organism_name)
42
if is_enterobacteriaceae(organism_name):
0 commit comments