epam / Indigo

Universal cheminformatics toolkit, utilities and database search tools
http://lifescience.opensource.epam.com
Apache License 2.0
314 stars 103 forks source link

The structure changes when saved in SVG/PNG formats #1991

Closed Zhirnoff closed 3 months ago

Zhirnoff commented 5 months ago

Summary The structure changes when saved in SVG/PNG formats

Steps to Reproduce

  1. Open Ketcher.
  2. Draw a benzene ring
  3. Add an attachment point to the benzene ring via right click menu
  4. Switch to Macro mode and connect attachment point to a macro structure
  5. Switch to Micro mode
  6. Save structure in SVG/PNG formats

If it is not possible to draw the structure, then you can open the prepared file (you just need to open it in macro mode and then switch to micro mode): ketcher (53).zip

Expected behavior The structure not changes when saved in SVG/PNG formats 2024-06-06_14h02_50

Actual behavior The structure changes when saved in SVG/PNG formats 2024-06-06_15h44_44 2024-06-06_15h59_43

Desktop (please complete the following information):

Ketcher version [Version 2.22.0-rc.2] Indigo version [Version 1.21.0-rc.1]

Refers to feature: https://github.com/epam/ketcher/issues/4530 Issue on Ketcher side: https://github.com/epam/ketcher/issues/4879

even1024 commented 4 months ago

The issue is on ketcher side. Leaving groups should be removed if attachment atom is in use.

AlexeyGirin commented 4 months ago

Check if problem has gone after https://github.com/epam/ketcher/issues/4879 fix

AlexeyGirin commented 4 months ago

MOve to Ketcher

AlexeyGirin commented 3 months ago

Moved to Ketcher - https://github.com/epam/ketcher/issues/5043