Skip to content

Commit

Permalink
fix output creation in binary mode
Browse files Browse the repository at this point in the history
  • Loading branch information
damurdock committed Jan 20, 2018
1 parent 62f3b52 commit ad44d92
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sidr/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,8 @@ def generateOutput(tokeep, toremove, result, contigs, target, output):
for contig in result:
if target == contig[1]:
targetContigIDs.append(contig[0])
elif "target" == contig[1]:
targetContigIDs.append(contig[0]
else:
nontargetContigIDs.append(contig[0])
outputLines.append([contig[0], contig[1], "dt"])
Expand Down

0 comments on commit ad44d92

Please sign in to comment.