epam / epam/Indigo

Not the first reaction on Canvas is saved to RXN when there are several reactions with single and Multi-Tailed Arrows

Open
#2,482 0 comments 0 reactions 1 assignee Claimed by @even1024 View on GitHub
Cascade reactions Export to RXN MMPK Priority: High
Dominant language
C++
Stars
406
Forks
134
Avg merge
2d 11h
Merged PRs (30d)
24

Description

**Steps to Reproduce**
1. Load reaction from KET:
[ket-cascade-single-reactions-without-matching.zip](https://github.com/user-attachments/files/17522891/ket-cascade-single-reactions-without-matching.zip)
![image](https://github.com/user-attachments/assets/0ec9ae64-f963-4c40-9ed1-b32f4d42af44)

**Actual Result**
- 1:1 root reaction of cascade is on "Save to RXN" preview:
![image](https://github.com/user-attachments/assets/95b087c3-37f1-4d53-b51c-19dfe2651c90)

**Expected Result**
- The first reaction on the canvas 2:1 is displayed on "Save to RXN" preview as it's the first on Canvas

**Environment details**
Reproduced on RC SA env:
- Ketcher [Version 2.26.0-rc.6] Build at 2024-10-25; 09:57:12;
- Indigo Version 1.25.0-rc.4.0-g8862ccb7e-wasm32-wasm-clang-19.0.0
- Desktop, Windows 11 Enterprise
- Chrome, Version 130.0.6723.70 (Official Build) (64-bit)

**Notes**
- Another example of file to reproduce the issue:
[ket-single-reactions-2-mta-arrow-pluses-bottom-top.zip](https://github.com/user-attachments/files/17586111/ket-single-reactions-2-mta-arrow-pluses-bottom-top.zip)
The reaction with Multi-Tailed arrow were added firstly, after that reaction with pluses - not the first reaction is on save:
![image](https://github.com/user-attachments/assets/3a0eb8f2-c94f-4957-8fc4-9a61b7f957e1)
- Pay attention to case when the second added reaction is the first on Canvas - TBD
- Issue is detected during exploratory testing of Update Save to RXN for cascade reactions feature - https://github.com/epam/Indigo/issues/2234

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.