Chem.Suppliers.DbMolSupplier.DbMolSupplier

Package Chem :: Package Suppliers :: Module DbMolSupplier :: Class DbMolSupplier |
[hide private]
[frames] | no frames]

# Class DbMolSupplier

source code

                 object --+
                          |
    MolSupplier.MolSupplier --+
                              |
                             DbMolSupplier

Known Subclasses:
  ForwardDbMolSupplier, RandomAccessDbMolSupplier

    new molecules come back with all additional fields from the
    database set in a "_fieldsFromDb" data member

Instance Methods | [hide private]
__init__(self, dbResults, molColumnFormats=`{``'``MOLPKL``'``:` `'``PKL``'``,` `'``SMI``'``:` `'``SMI``'``,` `'``SMILES``'``:` `'``SMI``'``}`, nameCol=`'````'`, transformFunc=None, **kwargs) DbResults should be a subclass of Dbase.DbResultSet.DbResultBase | source code
GetColumnNames(self) | source code
_BuildMol(self, data) | source code
Inherited from `MolSupplier.MolSupplier`: `NextMol`, `Reset`, `__iter__`, `next` Inherited from `object`: `__delattr__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__str__`

Properties | [hide private]
Inherited from `object`: `__class__`

Method Details | [hide private]

### __init__(self, dbResults, molColumnFormats=`{``'``MOLPKL``'``:` `'``PKL``'``,` `'``SMI``'``:` `'``SMI``'``,` `'``SMILES``'``:` `'``SMI``'``}`, nameCol=`'````'`, transformFunc=None, **kwargs) (Constructor) | source code
    DbResults should be a subclass of Dbase.DbResultSet.DbResultBase
Overrides: MolSupplier.MolSupplier.__init__