epam / ketcher

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

Macro: Save to file and than Load it back eliminate monomer names from preview tooltip #3757

Closed AlexeyGirin closed 9 months ago

AlexeyGirin commented 9 months ago

Steps to Reproduce

  1. Switch to Macromolecules view
  2. Load this file: Alanine.zip (unzip first) System loads one monomer: image
  3. Go to Library/Peptides and put Alanine to canvas (to have it two) image
  4. Hover mouse cursor over one monomer and than over added one

Actual behavior From file: image Added one: image Note that peptide loaded from file - name is missing image I tried ket and mol files - it works the same for any monomer type.

Expected behavior It should not be any differences between instance loaded from the file and from Library

Desktop (please complete the following information):

Ketcher version [e.g. v2.4.2]. image Additional context Add any other context about the problem here.

Zhirnoff commented 9 months ago

Test added to automation table.

AlexeyGirin commented 8 months ago

Fixed for ket format but not for mol. Mol doesn't support labels

Zhirnoff commented 8 months ago

Bug fixed for ket. files but when saving in mol. and opening on tooltips there are no names. Apparently the mol. format itself is does not support this.