-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
I think the code that renders a reaction file to CDXML is missing from: "indigo/render2d/src/render_cdxml.cpp".
The method RenderParamCdxmlInterface::render is responsible for rendering CDXML format for both molecules and reactions but the code only considers params.mols structure. There is no usage of params.rxns that contains reaction components.
To reproduce:
- Read a reaction file
- set indigoSetOption("render-output-format", "cdxml");
- Write a CDXML file using indigoRender or indigoRenderToFile
- Memory exception occurs. Fails at (_getBounds(params, mols[i]->asMolecule(), p.str_min, p.str_max, p.scale);
Metadata
Metadata
Assignees
Labels
No labels