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

Label for unknown monomer is wrong #2060

Closed AlexeyGirin closed 3 months ago

AlexeyGirin commented 3 months ago

Steps to Reproduce

  1. Go to Macromolecules mode - Flex mode
  2. Load using paste from clipboard IDT type: /5i2AmPr/ image

Actual behavior System adds monomer to the canvas with label: unknown_monomer_with_idt_alias_i2AmPr image

Expected behavior System adds monomer to the canvas with label: i2AmPr image

As per requirements:

1. Display on canvas:
    - in flex/snake modes - as a "black box" (see mockups)

image

Versions

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

Zhirnoff commented 3 months ago

Tested. Bug fixed. 2024-07-11_18h08_25

Desktop:

Ketcher version [Version 2.23.0-rc.2] Indigo version [Version 1.22.0-rc.2]