mgymrek / pybamview

Browser based application for viewing bam alignments
MIT License
56 stars 17 forks source link

Support for Python 2.4+ #26

Closed laserson closed 10 years ago

laserson commented 10 years ago

pybamview only supported Python 2.7 because of dictionary comprehensions and Python 2.6 because of argparse (if separately installed) and a with statement. These changes should make pybamview compatible with Python 2.4 and above, which is helpful if you want to run it on, say, CentOS.

mgymrek commented 10 years ago

Thanks a lot for these changes! Looks great. Next release I'll update the website to say only Python 2.4 is required.

laserson commented 10 years ago

I would just add that it might still not be compatible with Python 2.4. The pybamview code certainly is, but the deps may not be. But I can confirm that it now works on Python 2.6 :) Thanks for the useful tool!

mgymrek commented 10 years ago

Good point. I'm working on getting rid of pandas (issue #30) but other dependencies still need >=2.6 ( at least pyfasta and flask ). But at least 2.6 is working!