Code:
|
result = ()
molResidue = self.parent.molResidue
if molResidue is not None:
labelingScheme = self.root.findFirstLabelingScheme(name=self.schemeName)
if labelingScheme is not None:
chemComp = molResidue.chemComp
chemCompLabel = labelingScheme.findFirstChemCompLabel(molType=chemComp.molType, ccpCode=chemComp.ccpCode)
serial = self.isotopomerSerial
if serial:
result = frozenset(chemCompLabel.findAllIsotopomers(serial=serial))
else:
result = chemCompLabel.isotopomers
|