Skip to content

Commit

Permalink
corrected bug caused by conditions being intergers instead of strings
Browse files Browse the repository at this point in the history
  • Loading branch information
rioualen committed Aug 3, 2017
1 parent aeeefb2 commit 91fd601
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/snakefiles/rules/sartools_targetfile.rules
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ rule sartools_targetfile:
for id in range(len(sample_ids)):
cond = sample_conditions[id]
counts = expand(cwd + "/" + sample_dir + "/" + sample_ids[id] + "/" + sample_ids[id] + "_{preprocess}.txt", preprocess=wildcards.preprocess)
f.write(sample_ids[id] + "\t" + counts[0] + "\t" + cond + "\n")
f.write(sample_ids[id] + "\t" + counts[0] + "\t" + str(cond) + "\n")
f.close()
# sys.stdout.close()

Expand Down

0 comments on commit 91fd601

Please sign in to comment.