epam / Indigo

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

Sugar should not be saved on the right side of the nucleotide #2123

Open AnnaKosol opened 2 months ago

AnnaKosol commented 2 months ago

Steps to Reproduce

  1. Go to Macromolecules mode - Flex mode
  2. Open section RNA and after Nucleotides
  3. Add any nucleotide
  4. Open section Sugars
  5. Add R sugar Снимок экрана 2024-07-12 в 16 07 11
  6. Save canvas in the IDT format

Actual behavior Structure can be saved Снимок экрана 2024-07-12 в 16 08 00

Expected behavior Structure can not be saved and error should be displayed Снимок экрана 2024-07-12 в 15 54 20

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

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

AliaksandrDziarkach commented 1 month ago

Looks like a duplicate of #2122