Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reaction Auto-Mapping Tool doesn't work for single and cascade reactions with Multi-Tailed Arrow #2556

Open
ivanmaslow opened this issue Oct 15, 2024 · 0 comments
Assignees
Labels
Bug Cascade reactions MMPK Scope for Pathway reactions, View-only mode, Static images, Custom buttons and Ketcher API changes Priority: High

Comments

@ivanmaslow
Copy link
Collaborator

ivanmaslow commented Oct 15, 2024

Steps to Reproduce 1 - Single Reaction

  1. Add single reaction 2x1 to Canvas from KET:
    ket-2x1.zip
    image
  2. Click on the Reaction Mapping Tool and use Auto-Mapping Tool

Actual behavior

  • Auto-Mapping Tool is disabled
    image

Expected behavior

  • It has to be enabled and work with Multi-Tailed arrow as in case when reaction with plus on Canvas:
    image

Steps to Reproduce 2 - Cascade Reaction - additional issue can be created if it's not possible to fix them together

  1. Add cascade reaction 2-1-1 to Canvas from KET:
    ket-2-1-1 (1).zip
    image
  2. Click on the Reaction Mapping Tool and use Auto-Mapping Tool
  3. Select any option (Discard, Keep, Alter)

Actual behavior

  • Error "array: invalid index 1 (size=0)" appears:
    image

Expected behavior

  • Error doesn't appear, it should work as for several single reactions: 2:1 and 1:1

Environment details:

  • RC SA env
  • [Version 2.26.0-rc.2] Build at 2024-10-14; 19:59:03
  • Indigo Version 1.25.0-rc.2.0-g867ae250b-wasm32-wasm-clang-19.0.0
  • Desktop, Windows 11 Enterprise
  • Chrome Version 129.0.6668.101 (Official Build) (64-bit)

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Cascade reactions MMPK Scope for Pathway reactions, View-only mode, Static images, Custom buttons and Ketcher API changes Priority: High
Projects
None yet
Development

No branches or pull requests

3 participants