[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [modeller_usage] using model-loop-refine in Modeller9v1
- To:
- Subject: Re: [modeller_usage] using model-loop-refine in Modeller9v1
- From: Modeller Caretaker <>
- Date: Tue, 17 Apr 2007 08:31:03 -0700
- Cc:
wrote:
return selection(self.residue_range('53:', '67:')
(self.residue_range('89:', '96:')
(self.residue_range('118:', '144:')
(self.residue_range('166:', '177:')
(self.residue_range('199:', '221:')
(self.residue_range('243:', '254:'))
This is invalid Python. Compare with the example at
http://salilab.org/modeller/9v1/manual/node32.html
It should be
return selection(self.residue_range('53:', '67:'),
self.residue_range('89:', '96:'),
self.residue_range('118:', '144:'),
self.residue_range('166:', '177:'),
self.residue_range('199:', '221:'),
self.residue_range('243:', '254:'))
i.e. you need commas between each call to residue_range, and (as Pankaj
already pointed out) you had extraneous parentheses.
Ben Webb, Modeller Caretaker
--
http://www.salilab.org/modeller/
Modeller mail list: http://salilab.org/mailman/listinfo/modeller_usage