Skip to content

Commit

Permalink
Fix the "new-line error" in classify
Browse files Browse the repository at this point in the history
  • Loading branch information
Davide Albanese committed Mar 10, 2017
1 parent 62510a3 commit d5649e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion micca/tax.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def read(input_fn):
"""

tax_dict = dict()
with open(input_fn, 'rb') as input_handle:
with open(input_fn, 'rU') as input_handle:
taxreader = TaxReader(input_handle)
for seqid, tax in taxreader:
tax_dict[seqid] = tax
Expand Down

0 comments on commit d5649e8

Please sign in to comment.