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 merge sequences while replacing selected monomers from the library in view mode #5241

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 merge sequences while replacing selected monomers from the library in view mode.zip image
  3. Select last monomer image
  4. Click on C peptide on the library

Actual behavior System replace A monomer on C peptide and merges two sequences image

Expected behavior System replace A monomer on C peptide, two sequences remain in place image

As per requirement:

  1. If the user selects any number of monomers in view mode, and clicks on the monomer card in the library, all selected monomer on the canvas are replaced by chosen monomer from the library each

Versions

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

AlexeyGirin commented 1 month ago

Fixed. image