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

Re: [modeller_usage] Newbie question : restraining secondary structure



Parantu Shah wrote:
May be I am making a mistake in here but.
When I try to use the script in example 12 in the FAQ about


* Is it possible to restrain secondary structure in the target sequence?
modeller 8v1 gives following error message and quits

 File "model-default.py", line 7
    rsr = self.restraints:
      ^
IndentationError: expected an indented block

You need to copy the example from the FAQ with the indentation intact. Python uses indentation to identify code blocks. See http://diveintopython.org/getting_to_know_python/indenting_code.html

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