----- Mensagem original ----- De: "Modeller Caretaker" modeller-care@salilab.org Para: "Bruno Cramer" bruno.cramer@gmail.com, "modeller usage" modeller_usage@salilab.org Enviadas: Quinta-feira, 30 de maio de 2019 18:48:16 Assunto: Re: [modeller_usage] python script error
On 5/30/19 2:13 PM, Bruno Cramer wrote: > bcramer@schrodinger:~/workdir-modeller9.1$ python runmodeller-test1.py > File "runmodeller-test1.py", line 13 > a = automodel(env, alnfile = ’alinha.pir’, knowns = ’4hpg’, > sequence = ’bgl’) > ^ > SyntaxError: invalid syntax
This isn't a Modeller issue. Python expects its scripts to be plain text. Use a regular quote character (' not ’) for your strings here (you use the right one when you set atom_files_directory above).
Ben Webb, Modeller Caretaker