OEInit2DRingDictionary

OEInit2DRingDictionary(ims: oemolistream) -> bool
OEInit2DRingDictionary(filename: str) -> bool

Initializes the global ring dictionary with the ring layouts stored in the given file. After initialization, the user-defined ring layouts will have priority over the built-in ring templates of OEChem TK when calling the OEGenerate2DCoordinates function to generate 2D coordinates.

See also

2D ring dictionary files can be generated with the following programs:

The program below shows how to generate 2D coordinates with user-defined ring layouts: