epam / ketcher

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

System allow to change monomers on the canvase in view mode (that is not allowed) #5232

Closed AlexeyGirin closed 2 months ago

AlexeyGirin commented 2 months ago

Steps to Reproduce

  1. Go to Macromolecules mode - Sequence mode

  2. Load from file: System allow to change monomers on the canvase in view mode (that is not allowed).zip image

  3. Select some monomers using area selection tool image

  4. Go to Library - Peptides tab

  5. Click on D peptide

Actual behavior All selected monomers changed to D peptide image

Expected behavior Nothing happens As per requirement:

  1. If the user selects any number of monomers in text-editing mode, and clicks on the monomer card in the library, one chosen monomer form the library should replace all the selected monomer(s) on the canvas.

image

Versions

Related issue - https://github.com/epam/ketcher/issues/4878

AlexeyGirin commented 2 months ago

Not a bug