Ketcher part: Micro and macro structures connected through attachment points cannot be opened after save in CDXML format in micro mode (in MOL it opens slightly wrong structure)) #4868
Original issue was created in Indigo - https://github.com/epam/Indigo/issues/1993
@even1024 told that he did his part and now it require Ketcher side change to be done.
As for mol format - it doesn't create corrupted file (it is possible to load) but resulted molecule is wrong
Summary
Micro and macro structures connected through attachment points cannot be opened after save in CDXML format in micro mode
Steps to Reproduce
Open Ketcher.
Draw a benzene ring
Add an attachment point to the benzene ring via right click menu
Switch to Macro mode and connect attachment point to a macro structure
Switch to Micro mode
Save structure in CDXML format
Open saved file
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
Micro and macro structures connected through attachment points can be opened after save in CDXML format in micro mode
Actual behavior
Micro and macro structures connected through attachment points cannot be opened after save in CDXML format in micro mode
Desktop (please complete the following information):
OS: Windows 11
Browser Chrome
Version 124.0.6367.79 (Official Build) (64-bit)
Ketcher version
[Version 2.22.0-rc.2]
Indigo version
[Version 1.21.0-rc.1]
Original issue was created in Indigo - https://github.com/epam/Indigo/issues/1993 @even1024 told that he did his part and now it require Ketcher side change to be done. As for mol format - it doesn't create corrupted file (it is possible to load) but resulted molecule is wrong
Summary Micro and macro structures connected through attachment points cannot be opened after save in CDXML format in micro mode
Steps to Reproduce
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 Micro and macro structures connected through attachment points can be opened after save in CDXML format in micro mode![2024-06-06_14h02_50](https://github.com/epam/Indigo/assets/62464241/eb38e10e-1ea3-42ed-bd56-a1a9bddf4d14)
Actual behavior Micro and macro structures connected through attachment points cannot be opened after save in CDXML format in micro mode
![2024-06-06_16h15_01](https://github.com/epam/Indigo/assets/62464241/10c140cc-d008-4b54-90a1-8f88cf2b1b4b)
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
Attached saved files:
ketcherCDXML (1).zip