epam / ketcher

Web-based molecule sketcher
https://lifescience.opensource.epam.com/ketcher/demo.html
Apache License 2.0
470 stars 165 forks source link

Preview: Enumeration counters remain unchanged after bond being deleted #4934

Closed AlexeyGirin closed 2 months ago

AlexeyGirin commented 3 months ago

Steps to Reproduce

  1. Go to Macromolecules mode - Flex mode
  2. Load from file: Enumeration counters remain unchanged after bond being deleted.zip OR manually create the following configuration: image
  3. Delete bond between nucleotides

Actual behavior Enumeration counter is wrong (remain 2 - should be 1) image

Expected behavior Enumeration counter should be 1 image

As per requirements:

1.3 Enumeration should start even single RNA (added as result of conversation with @olganaz)

Confirmed by @olganaz for unsplit nucleotide: image

Versions

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

AnnaKosol commented 2 months ago

Tested, ok Image Versions: Ketcher Version 2.23.0-rc.2 Build at 2024-07-10; 19:39:22 Indigo Version 1.22.0-rc.2.0-ga21fb5d8f-wasm32-wasm-clang-19.0.0 Chrome Версия 126.0.6478.127 (Официальная сборка), (arm64) MacOs Sonoma 14.5