Reactions are saved with the incorrect quantity of reactants if the continuation of several tails is matched to one reactant
- Dominant language
- C++
- Stars
- 406
- Forks
- 134
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 24
Description
**Steps to Reproduce**
1. Add Multi-Tailed Arrow to Canvas
2. Add middle tail and reduce size of spine
3. Add one chemical element to the left of the arrow and one to the right:

4. Click on save to RDF and observe the preview
**Actual behavior**
- Reaction 3:1 is displayed on preview:

- After loading of saved file 3:1 reaction is added to Canvas:

**Expected behavior**
- Reaction 1:1 is displayed on preview, after loading of saved file 1:1 reaction is added to Canvas with single arrow
**Environment details**
- Tested on CI-CD 2237-detect-pathway SA environment
- Ketcher [Version 2.25.0-rc.2] Build at 2024-09-24; 02:30:35
- Indigo Version 1.25.0-dev.1.58-ga966745f-wasm32-wasm-clang-12.0.0
- Windows 11 Enterprise
- Chrome Version 129.0.6668.59 (Official Build) (64-bit)
**Notes**
- Test is added to xls and have to be automated after fixing
- Issue is detected during exploratory testing of Import/Export of Multi-Tailed Arrow in cascade reactions - https://github.com/epam/Indigo/issues/2237
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the multi-tailed-arrow case in Ketcher using the listed steps, then trace the RDF save and load path for the reactant quantity. Review the existing XLS test mentioned in the notes and automate it after the behavior is fixed. Done means the preview and reloaded canvas both show a 1:1 reaction with a single arrow.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, wasm
- Domain
- data
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100