Skip to content

Commit

Permalink
update for py2 & py3 compat
Browse files Browse the repository at this point in the history
  • Loading branch information
brianjohnhaas committed Jan 25, 2019
1 parent e243d30 commit 074b229
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/misc/TPM_weighted_gene_length.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def parse_TPM_matrix(TPM_matrix_file):
trans_to_TPM_vals_dict = {}

with open(TPM_matrix_file) as f:
header = f.next()
header = next(f)
for line in f:
line = line.rstrip()
vals = line.split("\t")
Expand Down

0 comments on commit 074b229

Please sign in to comment.