Skip to content

Commit 3accd8f

Browse files
authored
Update summary
1 parent 42abbf2 commit 3accd8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gmsc_mapper/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -479,15 +479,15 @@ def main(args=None):
479479
summary.append(
480480
f'{annotated_number} ({1 - rank_percentage["no rank"]:.2%}) aligned smORFs have taxonomy annotation.')
481481
for rank in [
482-
'superkingdom',
482+
'kingdom',
483483
'phylum',
484484
'class',
485485
'order',
486486
'family',
487487
'genus',
488488
'species']:
489489
summary.append(
490-
f'{rank_number[rank]} ({rank_percentage["superkingdom"]:.2%}) aligned smORFs are annotated at level of {rank}.')
490+
f'{rank_number[rank]} ({rank_percentage[rank]:.2%}) aligned smORFs are annotated at level of {rank}.')
491491

492492
with atomic_write(f'{args.output}/summary.txt', overwrite=True) as ofile:
493493
for s in summary:

0 commit comments

Comments
 (0)