Chemical Data Processing Library Python API - Version 1.0.0
|
Public Member Functions | |
None | __init__ () |
Initializes the ConformerGenerator instance. | |
int | getObjectID () |
Returns the numeric identifier (ID) of the wrapped C++ class instance. More... | |
int | generate (Chem.MolecularGraph molgraph) |
ConformerGeneratorSettings | getSettings () |
None | clearFragmentLibraries () |
None | addFragmentLibrary (FragmentLibrary lib) |
None | clearTorsionLibraries () |
None | addTorsionLibrary (TorsionLibrary lib) |
None | setAbortCallback (CallbackFunction func) |
CallbackFunction | getAbortCallback () |
None | setTimeoutCallback (CallbackFunction func) |
CallbackFunction | getTimeoutCallback () |
None | setLogMessageCallback (LogMessageCallbackFunction func) |
LogMessageCallbackFunction | getLogMessageCallback () |
None | setConformers (Chem.MolecularGraph molgraph) |
int | getNumConformers () |
ConformerData | getConformer (int conf_idx) |
ConformerData | __getitem__ (int conf_idx) |
Properties | |
objectID = property(getObjectID) | |
numConformers = property(getNumConformers) | |
settings = property(getSettings) | |
abortCallback = property(getAbortCallback, setAbortCallback) | |
timeoutCallback = property(getTimeoutCallback, setTimeoutCallback) | |
logMessageCallback = property(getLogMessageCallback, setLogMessageCallback) | |
int CDPL.ConfGen.ConformerGenerator.getObjectID | ( | ) |
Returns the numeric identifier (ID) of the wrapped C++ class instance.
Different Python ConformerGenerator instances may reference the same underlying C++ class instance. The commonly used Python expression a is not b
thus cannot tell reliably whether the two ConformerGenerator instances a and b reference different C++ objects. The numeric identifier returned by this method allows to correctly implement such an identity test via the simple expression a.getObjectID() != b.getObjectID()
.
int CDPL.ConfGen.ConformerGenerator.generate | ( | Chem.MolecularGraph | molgraph | ) |
molgraph |
ConformerGeneratorSettings CDPL.ConfGen.ConformerGenerator.getSettings | ( | ) |
None CDPL.ConfGen.ConformerGenerator.addFragmentLibrary | ( | FragmentLibrary | lib | ) |
lib |
None CDPL.ConfGen.ConformerGenerator.addTorsionLibrary | ( | TorsionLibrary | lib | ) |
lib |
None CDPL.ConfGen.ConformerGenerator.setAbortCallback | ( | CallbackFunction | func | ) |
func |
CallbackFunction CDPL.ConfGen.ConformerGenerator.getAbortCallback | ( | ) |
None CDPL.ConfGen.ConformerGenerator.setTimeoutCallback | ( | CallbackFunction | func | ) |
func |
CallbackFunction CDPL.ConfGen.ConformerGenerator.getTimeoutCallback | ( | ) |
None CDPL.ConfGen.ConformerGenerator.setLogMessageCallback | ( | LogMessageCallbackFunction | func | ) |
func |
LogMessageCallbackFunction CDPL.ConfGen.ConformerGenerator.getLogMessageCallback | ( | ) |
None CDPL.ConfGen.ConformerGenerator.setConformers | ( | Chem.MolecularGraph | molgraph | ) |
molgraph |
int CDPL.ConfGen.ConformerGenerator.getNumConformers | ( | ) |
ConformerData CDPL.ConfGen.ConformerGenerator.getConformer | ( | int | conf_idx | ) |
conf_idx |
ConformerData CDPL.ConfGen.ConformerGenerator.__getitem__ | ( | int | conf_idx | ) |
conf_idx |