Skip to content

Commit

Permalink
fix sorting call typo and call keys on dictionary explicitly per bug #…
Browse files Browse the repository at this point in the history
  • Loading branch information
hyphaltip committed Aug 21, 2024
1 parent d674164 commit a6dc154
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion funannotate/library.py
Original file line number Diff line number Diff line change
Expand Up @@ -8285,7 +8285,7 @@ def _sortDict(d):
# need to write out the fasta file in a sorted way otherwise the ZFF and FASTA don't match
# cannot assume the input genome is actual in ID sorted order
# see bug #1060
for title in natsort(seqids):
for title in natsorted(seqids.keys()):
outfile.write(">{:}\n{:}\n".format(title, softwrap(seqids[title])))


Expand Down

0 comments on commit a6dc154

Please sign in to comment.