Skip to content

Commit

Permalink
Fix typo: ozanae -> ozaenae
Browse files Browse the repository at this point in the history
  • Loading branch information
rrwick committed Sep 9, 2020
1 parent 58cc894 commit 9cc1746
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion kleborate/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ def get_chromosome_mlst_results(data_folder, contigs, kp_complex, args):
# ST67 and ST90 get special 'subspecies' names.
chr_st_with_subsp = chr_st
if chr_st_with_subsp == 'ST90':
chr_st_with_subsp = 'ST90 (subsp. ozanae)'
chr_st_with_subsp = 'ST90 (subsp. ozaenae)'
if chr_st_with_subsp == 'ST67':
chr_st_with_subsp = 'ST67 (subsp. rhinoscleromatis)'

Expand Down
4 changes: 2 additions & 2 deletions test/test_mlst.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,12 +138,12 @@ def test_ba779(self):
self.assertEqual(results['ST'], 'ST23')
self.assertEqual(results['Chr_ST'], 'ST23')

def test_ozanae(self):
def test_ozaenae(self):
contigs = 'test/test_mlst/GCF_900451425.1.fna.gz'
with tempfile.TemporaryDirectory() as tmp_dir:
contigs = gunzip_contigs_if_necessary(contigs, tmp_dir)
results = get_chromosome_mlst_results(self.data_dir, contigs, True, self.args)
self.assertEqual(results['ST'], 'ST90 (subsp. ozanae)')
self.assertEqual(results['ST'], 'ST90 (subsp. ozaenae)')
self.assertEqual(results['Chr_ST'], 'ST90')

def test_rhinoscleromatis(self):
Expand Down

0 comments on commit 9cc1746

Please sign in to comment.