TautomerGenerator.
More...
◆ __init__()
Initializes a copy of the TautomerGenerator instance gen.
- Parameters
-
gen | The TautomerGenerator instance to copy. |
◆ getObjectID()
int CDPL.Chem.TautomerGenerator.getObjectID |
( |
| ) |
|
Returns the numeric identifier (ID) of the wrapped C++ class instance.
Different Python TautomerGenerator 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 TautomerGenerator 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()
.
- Returns
- The numeric ID of the internally referenced C++ class instance.
◆ addTautomerizationRule()
◆ removeTautomerizationRule()
None CDPL.Chem.TautomerGenerator.removeTautomerizationRule |
( |
int |
idx | ) |
|
◆ getTautomerizationRule()
◆ getNumTautomerizationRules()
int CDPL.Chem.TautomerGenerator.getNumTautomerizationRules |
( |
| ) |
|
◆ setCallbackFunction()
◆ getCallbackFunction()
◆ setMode()
None CDPL.Chem.TautomerGenerator.setMode |
( |
Mode |
mode | ) |
|
◆ getMode()
Mode CDPL.Chem.TautomerGenerator.getMode |
( |
| ) |
|
◆ regardStereochemistry()
None CDPL.Chem.TautomerGenerator.regardStereochemistry |
( |
bool |
regard | ) |
|
◆ stereochemistryRegarded()
bool CDPL.Chem.TautomerGenerator.stereochemistryRegarded |
( |
| ) |
|
◆ regardIsotopes()
None CDPL.Chem.TautomerGenerator.regardIsotopes |
( |
bool |
regard | ) |
|
◆ isotopesRegarded()
bool CDPL.Chem.TautomerGenerator.isotopesRegarded |
( |
| ) |
|
◆ removeResonanceDuplicates()
None CDPL.Chem.TautomerGenerator.removeResonanceDuplicates |
( |
bool |
remove | ) |
|
◆ resonanceDuplicatesRemoved()
bool CDPL.Chem.TautomerGenerator.resonanceDuplicatesRemoved |
( |
| ) |
|
◆ setCustomSetupFunction()
◆ generate()
Generates all unique tautomers of the molecular graph molgraph.
- Parameters
-
molgraph | The molecular graph for which to generate the tautomers. |
◆ assign()
Replaces the current state of self with a copy of the state of the TautomerGenerator instance gen.
- Parameters
-
gen | The TautomerGenerator instance to copy. |
- Returns
- self