Chemical Data Processing Library Python API - Version 1.2.0
|
Implementation of the ChEMBL structure preprocessing pipeline. More...
Classes | |
class | ChangeFlags |
Public Member Functions | |
None | __init__ () |
Initializes the ChEMBLStandardizer instance. | |
None | __init__ (ChEMBLStandardizer standardizer) |
Initializes a copy of the ChEMBLStandardizer instance standardizer. More... | |
int | getObjectID () |
Returns the numeric identifier (ID) of the wrapped C++ class instance. More... | |
ChEMBLStandardizer | assign (ChEMBLStandardizer standardizer) |
Replaces the current state of self with a copy of the state of the ChEMBLStandardizer instance standardizer. More... | |
ChangeFlags | standardize (Molecule mol, bool proc_excld=False) |
ChangeFlags | standardize (Molecule mol, Molecule std_mol, bool proc_excluded=False) |
ChangeFlags | getParent (Molecule mol, bool neutralize=True, bool check_exclusion=True) |
ChangeFlags | getParent (Molecule mol, Molecule parent_mol, bool neutralize=True, bool check_exclusion=True) |
Properties | |
objectID = property(getObjectID) | |
Implementation of the ChEMBL structure preprocessing pipeline.
None CDPL.Chem.ChEMBLStandardizer.__init__ | ( | ChEMBLStandardizer | standardizer | ) |
Initializes a copy of the ChEMBLStandardizer instance standardizer.
standardizer | The ChEMBLStandardizer instance to copy. |
int CDPL.Chem.ChEMBLStandardizer.getObjectID | ( | ) |
Returns the numeric identifier (ID) of the wrapped C++ class instance.
Different Python ChEMBLStandardizer 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 ChEMBLStandardizer 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()
.
ChEMBLStandardizer CDPL.Chem.ChEMBLStandardizer.assign | ( | ChEMBLStandardizer | standardizer | ) |
Replaces the current state of self with a copy of the state of the ChEMBLStandardizer instance standardizer.
standardizer | The ChEMBLStandardizer instance to copy. |
ChangeFlags CDPL.Chem.ChEMBLStandardizer.standardize | ( | Molecule | mol, |
bool | proc_excld = False |
||
) |
mol | |
proc_excld |
ChangeFlags CDPL.Chem.ChEMBLStandardizer.standardize | ( | Molecule | mol, |
Molecule | std_mol, | ||
bool | proc_excluded = False |
||
) |
mol | |
std_mol | |
proc_excluded |
ChangeFlags CDPL.Chem.ChEMBLStandardizer.getParent | ( | Molecule | mol, |
bool | neutralize = True , |
||
bool | check_exclusion = True |
||
) |
mol | |
neutralize | |
check_exclusion |
ChangeFlags CDPL.Chem.ChEMBLStandardizer.getParent | ( | Molecule | mol, |
Molecule | parent_mol, | ||
bool | neutralize = True , |
||
bool | check_exclusion = True |
||
) |
mol | |
parent_mol | |
neutralize | |
check_exclusion |