Changeset 4e219a3 for protein.py
- Timestamp:
- 09/05/08 11:49:43 (16 years ago)
- Branches:
- master
- Children:
- a52fb83
- Parents:
- 229cc35
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protein.py
r229cc35 r4e219a3 264 264 265 265 def zimmer(self): 266 first = smmp.mol_i.irsml1[self.__id] [0]- 1267 last = smmp.mol_i.irsml2[self.__id] [0] - 1268 nrs = smmp.mol_i.irsml2[smmp.mol_i.ntlml - 1] [0]- 1266 first = smmp.mol_i.irsml1[self.__id] - 1 267 last = smmp.mol_i.irsml2[self.__id] 268 nrs = smmp.mol_i.irsml2[smmp.mol_i.ntlml - 1] - 1 269 269 smmp.zimmer(last) 270 270 return smmp.zimme.zimm[first:last] 271 271 272 272 def __len__(self): 273 return smmp.mol_i.irsml2[self.__id] - smmp.mol_i.irsml1[self.__id] 273 return smmp.mol_i.irsml2[self.__id] - smmp.mol_i.irsml1[self.__id] + 1 274 274 275 275
Note:
See TracChangeset
for help on using the changeset viewer.