chrisquince / STRONG

Strain Resolution ON Graphs
MIT License
46 stars 9 forks source link

Python2.7 incomptatability in refactored scripts #55

Closed chrisquince closed 5 years ago

chrisquince commented 5 years ago

The print statement:

print("code contains errors : first pass merging was not enough to merge all bins which should be merged ", file=sys.stderr)

in Common_unitigs.py

Is I think not python2.7 compliant.

Sebastien-Raguideau commented 5 years ago

It is because of the from future import print_function

chrisquince commented 5 years ago

But what is the solution :)? Remove the future import?

Sebastien-Raguideau commented 5 years ago

Sorry, missing comma. So it was indeed causing an issue in my commit from friday. Since then I corrected it with the future import which make the print statement working in both python2 and python3.

chrisquince commented 5 years ago

OK great!