OEGetPolymerType

Attention

This is a preliminary API and may be improved based on user feedback. It is currently available in C++ and Python.

OEGetPolymerType(monomer_mol: Union[OEGraphMol,OEMol,OEQMol]) -> int
OEGetPolymerType(monomerSmiles: str) -> int

Determines the polymer type of the monomer defined by its molecule or smiles representation. Returns OEPolymerType_Undefined if given monomer does not satisfy the requirement of any of the specific polymer type.

See also