Skip to content

Commit

Permalink
Changed variable name to avoid possible overwrite.
Browse files Browse the repository at this point in the history
  • Loading branch information
emilio-r authored Jan 18, 2021
1 parent b793207 commit a851c5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/sendsketch_to_prokka.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ def parse_stain_database(stain_file):
stain_db = {}
with open(stain_file, "r") as stain:
for line in stain:
genus, stain = line.split("\t")
stain_db[genus] = stain.rstrip()
genus, curr_stain = line.split("\t")

This comment has been minimized.

Copy link
@boulund

boulund Jan 18, 2021

Member

Well spotted!

stain_db[genus] = curr_stain.rstrip()
return stain_db


Expand Down

0 comments on commit a851c5e

Please sign in to comment.