Skip to content

Commit

Permalink
Merge branch 'master' into refactor/next_big_cleanup_20210428
Browse files Browse the repository at this point in the history
  • Loading branch information
cschu authored May 6, 2021
2 parents 751383b + e420b3f commit 0db1376
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions stag/taxonomy.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ def load_from_file(self):
# vals = line.rstrip().replace("/","-").split("\t")
try:
gene, lineage = row
# we solve #10
lineage = lineage.replace("/","-")
except:
raise ValueError(f"line {line_i} is not properly formatted, expecting gene\tlineage.. :\n{row}")
lineage = lineage.split(";")
Expand Down

0 comments on commit 0db1376

Please sign in to comment.