OEUncolorMol

OEUncolorMol(uncoloredcmol: Union[OEGraphMol,OEMol,OEQMol],
             mol: Union[OEGraphMol,OEMol,OEQMol], uncolortype: int) -> bool
OEUncolorMol(uncoloredcmol: OEMol, mol: OEMol, uncolortype: int) -> bool
OEUncolorMol(moltouncolor: Union[OEGraphMol,OEQMol], uncolortype: int) -> bool
OEUncolorMol(moltouncolor: OEMol, uncolortype: int) -> bool

The OEUncolorMol function will remove chemical features from the output structure according to the OEUncolorStrategy. The default strategy is OEUncolorStrategy_RemoveDimension and OEUncolorStrategy_BemisMurcko.

For the function overloads that operate directly on the input molecule, the function returns true if uncoloring modifications were applied to the structure and false otherwise.