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

Aromatize/Dearomatize doesn't work if attachmet point present on the canvas #2027

Closed AlexeyGirin closed 3 weeks ago

AlexeyGirin commented 4 months ago

Steps to Reproduce

  1. Load from file: Aromatize-Dearomatize doesn't work.zip OR manually create following configuration on the canvas: image

  2. Press Aromatize button

  3. Press Dearomatize button

Actual behavior Nothing happens! image

Expected behavior System first tuns both rings to Aromatize state and than - back to dearomatize state image

Versions:

Issue found while testing https://github.com/epam/ketcher/issues/4530

AlexeyGirin commented 3 weeks ago

Not as bug - works as expected - we sends special parameter for that image

Ketcher Version 2.26.0-rc.1 Build at 2024-10-04; 18:45:04
Indigo Toolkit Version 1.25.0-rc.1.0-g704673fcb-wasm32-wasm-clang-19.0.0
Chrome Version 129.0.6668.90 (Official Build) (64-bit)
Win10
Zhirnoff commented 2 weeks ago

Tested. As mentioned @AlexeyGirin it is worked as expected.

https://github.com/user-attachments/assets/8edf44ac-5560-4245-8c9c-e4e096ccf476

Desktop:

Ketcher version [Version 2.26.0-rc.2] Indigo version [Version 1.25.0-rc.2]