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: Unsplit nucleotide without natural analog should be displayed as '@' symbol #4932

Closed AlexeyGirin closed 2 months ago

AlexeyGirin commented 3 months ago

Steps to Reproduce

  1. Go to Macromolecules mode - Flex mode
  2. Put to the canvas 55NitInd nucleotide (it has no natural analog) from the library (Nucleotides section) image
  3. Switch to Sequence mode

Actual behavior Nucleotide displayed as 'X' symbol image

Expected behavior Nucleotide displayed as '@' symbol image

As per requirements:

  1. Unsplit nucleotides should be displayed:
    • in flex/snake modes - as a pentagon with name (see mockups)
    • in sequence view - as natural analog symbol if it's specified, otherwise - as '@' symbol

Versions

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

AnnaKosol commented 2 months ago

Verified 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