OEExtractRingTemplateOptions

class OEExtractRingTemplateOptions

This class represents OEExtractRingTemplateOptions that stores the parameters that are used when extracting ring templates using OEExtractRingTemplates function

Note

We recommend using the OE2DRingDictionary class for generating a ring template dictionary.

../../_images/OEExtractRingTemplates_Default.png

Example of extracting ring templates with default parameters

See also

Constructors

OEExtractRingTemplateOptions() -> OEExtractRingTemplateOptions

Default constructor.

OEExtractRingTemplateOptions(rhs: OEExtractRingTemplateOptions) -> OEExtractRingTemplateOptions

Copy constructor.

GetRetainBondStereo

GetRetainBondStereo() -> bool

Returns whether the cis/trans bond stereo configurations are kept in macro-cycles when extracting ring systems.

GetRetainExistingTemplates

GetRetainExistingTemplates() -> bool

Returns whether to return or ignore ring templates that have been already exist in the 2D coordinate generation system of OEChem.

SetRetainBondStereo

SetRetainBondStereo(arg2: bool) -> None

Sets whether the cis/trans bond stereo configurations are kept in macro-cycles when extracting ring systems. By default, the bond stereo configurations in macro-cycles are retained.

../../_images/OEExtractRingTemplates_RemoveBondStereo.png

Example of extracting ring templates with removing bond stereo configurations

SetRetainExistingTemplates

SetRetainExistingTemplates(arg2: bool) -> None

Sets whether to return or ignore ring templates that have been already exist in the 2D coordinate generation system of OEChem. By default, the existing ring templates are ignored.

../../_images/OEExtractRingTemplates_RetainExistingTemplates.png

Example of extracting ring templates with keeping existing ring templates