Package CHEM :: Package DB :: Module DBPopulator3 :: Class ChemicalIteratorPreparer
[hide private]
[frames] | no frames]

Class ChemicalIteratorPreparer



BaseDBPopulator.BaseIteratorPreparer --+
                                       |
                                      ChemicalIteratorPreparer

Given a parent chemicalmix object, parse the isomeric SMILES string into components to identify individual chemicals to process.

Instance Methods [hide private]
 
prepareIterator(self, parentObj)
Parent object should be a chemicalmix model with an associated mol object to extract the isomeric SMILES string from.

Inherited from BaseDBPopulator.BaseIteratorPreparer: __init__, newDefaultObject

Method Details [hide private]

prepareIterator(self, parentObj)

 

Parent object should be a chemicalmix model with an associated mol object to extract the isomeric SMILES string from.

If the parent chemicalmix is not new, don't bother iterating through any of the chemicals since they should supposedly already be in the DB.
Overrides: BaseDBPopulator.BaseIteratorPreparer.prepareIterator