17 Jul
2005
17 Jul
'05
10:27 a.m.
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
--
modeller-care@salilab.org http://www.salilab.org/modeller/
Modeller mail list: http://salilab.org/mailman/listinfo/modeller_usage