On 5/7/13 2:19 AM, Arjun Ray wrote:This is a Python syntax error. Python is very sensitive to indentation. The original script at http://salilab.org/modeller/wiki/Mutate%20model is correctly formatted. Are you sure you copied it exactly from the website without changing the indentation?
I am trying to mutate a residue THR61. Using the script provided on the website, I am getting following error:
rayarjun$ python /usr/bin/mutate.py 1AV1.pdb 61 THR A > 1AV1.log
File "/usr/bin/mutate.py", line 36
def refine(atmsel):
^
IndentationError: unindent does not match any outer indentation level
Ben Webb, Modeller Caretaker
--
" target="_blank"> http://www.salilab.org/modeller/
Modeller mail list: http://salilab.org/mailman/listinfo/modeller_usage