Open TC-2021 opened 3 years ago
This error is likely because you're running your script within the python interpreter. Exit the python interpreter using exit()
and in the command line use the code python roary_plots.py mytree.nwk gene_presence_absence.csv
which tells the computer to use python and read the .py script.
Hi all,
I am running roary_plots.py, I've downloaded the script of "roary_plots.py " and trying to run the next code:
roary_plots.py mytree.nwk gene_presence_absence.csv
I got the following: SyntaxError: invalid syntax
I also tried the code: roary_plots.py c:/mytree.nwk c:/gene_presence_absence.csv
Got the same message!
Could someone help me out please? Thanks.