Package CHEM :: Package CombiCDB :: Module MolecularWeightPools :: Class MoleculeByWeight
[hide private]
[frames] | no frames]

Class MoleculeByWeight



Simple wrapper class for OEMolBases. Override __cmp__ method so that the molecules will be sorted by their molecular weight.

Instance Methods [hide private]
 
__init__(self, mol)
Initialize with the given OEMolBase
 
__cmp__(self, other)
Override comparison method so molecules will be sorted by molecular weight
 
getMol(self)
 
getWeight(self)
 
calculateWeight(self)
Class Variables [hide private]
  HYDROGEN_ATOMIC_NUM = 1
  mMol = <CHEM.DB.rdb.search.NameRxnPatternMatchingModel.SearchS...
  mWeight = -1
Class Variable Details [hide private]

mMol

Value:
None