In the modeller.physical module, is there a way to select to select the physical types given the index? Something like:
>> import modeller
>> print modeller.physical.types[1]
physical.bond
I see that each modeller.physical.<restraint type> has a _num method which returns the index, but I’d like to avoid looping through all the object types if possible!
Cheers,
Chris
-------------------
Dr Chris Wood
STFC Rutherford Appleton Laboratory
Didcot
OX11 0QX
chris.wood@stfc.ac.uk
www.ccpem.ac.uk
Tel: +44(0)1235 567864
Tel: +44(0)7909 586624
Fax: +44(0)1235 567801
Skype:
chris_c_wood
--
Scanned by iCritical.