syntax errors in tasks.py
Issue #2
new
When I try to run the bash test_metannotate.sh I get the following error:
Traceback (most recent call last): File "run_metannotate.py", line 6, in <module> import tasks File "/home/lexovermars/Tools/metannotate/tasks.py", line 32 with stdout_handle as stdout, stderr_handle as stderr: ^ SyntaxError: invalid syntax
When I ensure that this one in discarded (for example by replacing it to if 1:), I get the following invalid syntax error:
line 71: lineage = {ranks[l]:name_dictionary[l] for l in lineage}
Could it be my python version not compatible?
Python version: Python 2.6.6 (r266:84292, Jul 23 2015, 15:22:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-11)] on linux2
Comments (1)
-
repo owner - Log in to comment
Thanks for notifying us of this. It is likely a Python version issue since MetAnnotate was developed using 2.7 (specifically 2.7.6).