Skip to content

Commit 3afe747

Browse files
authored
Apply suggestions from code review
1 parent d7b0ab3 commit 3afe747

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

microSALT/utils/referencer/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ def is_klebsiella(species_name) -> bool:
3333

3434
def get_reference_if_enterobacteriaceae(organism_name: str) -> str:
3535
"""Returns the reference for the organism name if it belongs to Enterobacteriaceae."""
36-
GENUS_REFERENCE_MAP = {
36+
GENUS_REFERENCE_MAP = [
3737
(is_escherichia, ESCHERICHIA_REFERENCE),
3838
(is_klebsiella, KLEBSIELLA_REFERENCE),
39-
}
39+
]
4040

4141
species: str = get_species(organism_name)
4242
if is_enterobacteriaceae(organism_name):

0 commit comments

Comments
 (0)