Package rdkit :: Package Chem :: Package Suppliers :: Module DbMolSupplier :: Class DbMolSupplier

[hide private]
[frames] | no frames]

# Class DbMolSupplier

source code

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

    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={'SMILES': 'SMI','SMI': 'SMI','MOLPKL': 'PKL'}, nameCol='', transformFunc=None, **kwargs) | source code

GetColumnNames(self) | source code

_BuildMol(self, data) | source code

Inherited from `MolSupplier.MolSupplier`: `NextMol`, `Reset`, `__iter__`, `next` Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__sizeof__`, `__str__`, `__subclasshook__`

Properties | [hide private]

Inherited from `object`: `__class__`

Method Details | [hide private]

### __init__(self, dbResults, molColumnFormats={'SMILES': 'SMI','SMI': 'SMI','MOLPKL': 'PKL'}, nameCol='', transformFunc=None, **kwargs)
(Constructor)

source code

    DbResults should be a subclass of Dbase.DbResultSet.DbResultBase

Overrides: object.__init__