epam / Indigo

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

Preview: System saves leaving group to MOL 3000 wrong #1981

Closed AlexeyGirin closed 1 month ago

AlexeyGirin commented 1 month ago

Summary System saves leaving group to MOL 3000 wrong, it makes entire molecule as leaving group instead of attachment point only

Steps to Reproduce

  1. Load from file: Simple AP.zip OR create on the canvas following molecule: image
  2. Save to MOL 3000
  3. Clear canvas and load it back from mol file

Expected behavior image

Actual behavior image

Versions: Windows 10 Chrome Version 125.0.6422.113 (Official Build) (64-bit) Ketcher Version 2.21.0-rc.2 Build at 2024-05-30; 16:37:32 Indigo Toolkit Version 1.21.0-dev.4.0-gb15b3f662-wasm32-wasm-clang-12.0.0

Issue found while testing https://github.com/epam/Indigo/issues/1928

AlexeyGirin commented 1 month ago

Not repro any more