Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
try except clause to pick up error
  • Loading branch information
proost committed Oct 27, 2017
1 parent f1a3399 commit 8088d1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipeline/transcriptome.py
Expand Up @@ -503,7 +503,7 @@ def htseq_to_matrix(self):
try:
gene_id, count = row.strip().split('\t')
except Exception as e:
print("Error parsing file %s. Error in line %s" % (htseq_files, row), file=sys.stderr)
print("Error parsing file %s. Error in line %s" % (file, row), file=sys.stderr)
finally:
if gene_id not in counts.keys():
counts[gene_id] = {}
Expand Down

0 comments on commit 8088d1b

Please sign in to comment.