[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [modeller_usage] plot_profiles.py(syntax error)



On 10/7/10 9:45 PM, Munishika Kalia wrote:
I am trying to plot the DOPE score against one of the template used in
modelling and final model.
The script is as follows:
...
The error is :
File "plot_profiles.py", line 14
for n, res in enumerate (seq.residues):
^
SyntaxError: invalid syntax

Like it says, you have a syntax error in your script. That's a Python error - nothing to do with Modeller. It's impossible to say for sure what the problem is, because by pasting the script into your email, you have probably changed the nature of the error (better to attach the script to your email instead). Maybe that line isn't indented properly.

	Ben Webb, Modeller Caretaker
--
             http://www.salilab.org/modeller/
Modeller mail list: http://salilab.org/mailman/listinfo/modeller_usage