epam / epam/Indigo

Issues with loading from RXN file after saving to RXN several reactions positioned in a row

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

Description

**Steps to Reproduce**
1. Add to Canvas two reactions in a row:
![image](https://github.com/user-attachments/assets/68889393-e7c8-40c2-b0bc-66f7bc826c4f)
2. Click on Save as...
3. Click on Warnings and observe

**Actual Behavior**
A wrong warning is displayed: "The MDL Rxnfile V2000 format does not support drawn elements: reaction arrows will be lost:
![image](https://github.com/user-attachments/assets/2eef3022-10fb-46ae-a83b-47202c758e12)

**Expected behavior**
TBD - for example: Multistep reactions cannot be saved to this format. Only the first step will be saved

4. Check RXN preview and copy:
**Actual Behavior**
Reactants from two reactions are together on the left side, products from two reactions are together on the right side:
![image](https://github.com/user-attachments/assets/5e987e29-4c0f-4600-b54c-2723e3282e1f)

**Expected behavior**
Only the first reaction should be in RXN, so it should be 2:1

5. Paste to Canvas and observe

**Actual behavior**
Reactants from two reactions are together on the left side, products from two reactions are together on the right side:
![image](https://github.com/user-attachments/assets/28e19b00-87c1-4ab1-998b-9354a3ac1f96)

**Expected behavior**
TBD - Only one first reaction 2:1 is pasted

**Environment details:**
- Ketcher [Version 2.24.0-rc.1] Build at 2024-08-06; 19:25:43
- Indigo Version 1.23.0-rc.1.0-g85f89b8f5-x86_64-linux-gnu-11.2.1
- OS: Windows 11 Enterprise
- Browser: Chrome, Version 127.0.6533.100 (Official Build) (64-bit)

**Additional context**
- Issue is related to https://github.com/epam/Indigo/issues/2194 and it was found during the investigation of Cascade Reactions feature https://github.com/epam/Indigo/issues/2128

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.