epam / epam/Indigo

Issues with loading from RXN file after saving to RXN several reactions positioned one under the another

Open
#2,194 1 comment 0 reactions 0 assignees 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 Scenario 1**
1. Add to Canvas two reactions with Benzene Rings:
![image](https://github.com/user-attachments/assets/0692ea7c-1b8b-49ea-a4b7-9f10255e2337)
2. Click on Save as...
3. Click on Warnings and observe

**Actual Behavior**
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/1e57b846-3b2d-4e20-a5bd-9422289ff648)

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

5. Paste to Canvas and observe

**Actual behavior**
Reactions are corrupted, and additional pluses are added:
![image](https://github.com/user-attachments/assets/d29e7e07-8114-4acc-876d-94040dd53a02)

**Expected behavior**
TBD - Only one first reaction is pasted

**Environment details:**
- Ketcher version: [Version 2.23.0-rc.3] Build at 2024-07-14; 20:34:10
- Indigo version: Version 1.22.0-rc.3.0-gbb5c51fc2-wasm32-wasm-clang-19.0.0

**Additional context**
- Detected during investigation of RDF feature - https://github.com/epam/Indigo/issues/2030.

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.