epam / ketcher

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

Preview: Save of unknown monomer to KET gives invalid ket file #5001

Closed AlexeyGirin closed 1 day ago

AlexeyGirin commented 4 days ago

Steps to Reproduce

  1. Go to Macromolecules mode - Flex mode
  2. Load using paste from clipboard IDT type: /i2AmPr/ image image
  3. Save canvas to KET file
  4. Load it back

Actual behavior System throws exception: Convert error! Error during file parsing. image

Expected behavior System saves and load ket file correct: image

As per requirements:

There should be possible to load such monomers from IDT and KET formats and save to these formats.

Versions

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