When exporting a chemical structure from ketcher as a PNG, the image created does not match the chemical structures shown in ketcher. SRU polymer brackets are dislocated in the PNG, and hydrogens are represented as HH instead of H2
When I try to save the structure as a PNG, I get the following:
In addition, if I add a hydrogen to the ketcher canvas and save this as an image, the image shows HH instead of H2.
ketcher canvas:
PNG:
Expected Behavior
I would expect the image created via the indigo render api to faithfully represent the structures created in the ketcher canvas.
Actual Behavior
The ketcher structure and exported image do not match. In the example above, the SRU polymer bracket on the right is in the wrong position and the n is added to the left bracket instead of the right bracket. For hydrogen, the image represents this as HH instead of H2.
Environment details:
Indigo Version 1.18.0.0-g73c32dec3-x86_64-linux-gnu-11.2.1
Summary
When exporting a chemical structure from ketcher as a PNG, the image created does not match the chemical structures shown in ketcher. SRU polymer brackets are dislocated in the PNG, and hydrogens are represented as HH instead of H2
Steps to Reproduce
I added the following structure to ketcher:
When I try to save the structure as a PNG, I get the following:
In addition, if I add a hydrogen to the ketcher canvas and save this as an image, the image shows HH instead of H2.
ketcher canvas:
PNG:
Expected Behavior
I would expect the image created via the indigo render api to faithfully represent the structures created in the ketcher canvas.
Actual Behavior
The ketcher structure and exported image do not match. In the example above, the SRU polymer bracket on the right is in the wrong position and the n is added to the left bracket instead of the right bracket. For hydrogen, the image represents this as HH instead of H2.
Environment details: