biomedicalinformaticsgroup / Sargasso

Sargasso disambiguates mixed-species high-throughput sequencing data.
http://biomedicalinformaticsgroup.github.io/Sargasso/
Other
8 stars 4 forks source link

Check and fix operation under Python 3 #77

Closed lweasel closed 6 years ago

lweasel commented 6 years ago

Current running under Python 3 gives the error:

AttributeError: 'generator' object has no attribute 'next'

on the line:

self.hits_for_read = self.hits_generator.next()

in filterer.py.

lweasel commented 6 years ago

See:

https://stackoverflow.com/questions/1073396/is-generator-next-visible-in-python-3-0

lweasel commented 6 years ago

Fixed in ed9270d8b1f21abb858027d4c7c66a372fc4bfdb.