jdidion / atropos

An NGS read trimming tool that is specific, sensitive, and speedy. (production)
Other
120 stars 15 forks source link

progress with "msg" option fails #1

Closed cokelaer closed 8 years ago

cokelaer commented 8 years ago

FYI: with the progress option set to "msg" (and the import time fix), a new error occurs in the progress module.

File "/home/cokelaer/anaconda2/envs/py35/lib/python3.5/site-packages/atropos-1.0.14-py3.5-linux-x86_64.egg/atropos/serial.py", line 11, in run_serial
    for batch_size, batch in reader:
  File "/home/cokelaer/anaconda2/envs/py35/lib/python3.5/site-packages/atropos-1.0.14-py3.5-linux-x86_64.egg/atropos/progress.py", line 44, in __next__
    value = self.iterable.next()
AttributeError: 'BatchIterator' object has no attribute 'next'
jdidion commented 8 years ago

Thanks Thomas. I fixed that and additional bugs, so ProgressMessageReader should work now.