7 Dec
2016
7 Dec
'16
11:47 a.m.
On 12/7/16 11:39 AM, Markus Heller wrote: > I can't get it to work for both chains. ... > return selection(self.residue_range('339:A', '372:A', '809:B', '842:B'))
As the error points out, you can only give two residue numbers (the start and end) to residue_range() (the third implicit argument is the class, self). But the selection object can take multiple objects, so what you actually want is
return selection(self.residue_range('339:A', '372:A'), self.residue_range('809:B', '842:B'))
Ben Webb, Modeller Caretaker
--
modeller-care@salilab.org https://salilab.org/modeller/
Modeller mail list: https://salilab.org/mailman/listinfo/modeller_usage