The bioBakery help forum

Invalid syntax message when running export2graphlan

Hello,
I am running GraPhlAn taking as a reference the turorial:

I tried to run the step 1 (to create the GraPhlAn input files), but I got an error message:

File "/home/eyre/anaconda3/bin/export2graphlan.py", line 23
    def scale_color((h, s, v), factor=1.0):
                    ^
SyntaxError: invalid syntax

I installed export2graphlan again (conda install export2graphlan) but it has the same error message.

Is it possible that I should need to install it differently?

Thank you.

Hi,

Thanks for your interest in GraPhlAn and sorry for the late reply. Can you send me a copy of the command that you used? I will see if I can recreate the error. Thanks!

Regards,
Aaron.