Clean Up and Layout ignore atom hydrogens and indexes
- Dominant language
- C++
- Stars
- 406
- Forks
- 134
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 24
Description
**Environment details (please complete the following information):**
- Ketcher Version 2.18.0-rc.4 Build at 2024-02-06; 13:45:28
- Indigo Toolkit Version 1.18.0-rc.6.0-g98bf384e0-x86_64-linux-gnu-11.2.1
- Chrome Version 121.0.6167.161 (Official Build) (64-bit)
- Win10
- Issue found while testing https://github.com/epam/ketcher/issues/3934
**Steps to Reproduce**
1. Create reaction as shown on the screen

OR
1. Open from file as a New Project: [Clean Up causes internal sever error if atom(s) with mapping tool selected.zip](https://github.com/epam/Indigo/files/14206581/Clean.Up.causes.internal.sever.error.if.atom.s.with.mapping.tool.selected.zip)
2. Spread atoms as on the picture (it is needed because atoms position are not restored correct because of the bug)

3. Remove selection from atoms if any (it required workaround for issues https://github.com/epam/Indigo/issues/1670)
4. Press Ctrl+L (Layout)
OR
4. Press Ctrl+Shift+L (Clean Up)
**Actual behavior**

Layout: System shrinks arrow length, put plus and arrow over H atom index and O atom hydrogens
Clean Up: Works slightly different but problems are the same
**Expected behavior**
System takes into account indexes and hyrdogens and adds extra space between atom, plus and arrow in the same manner as it does for big molecules

Size of arrow remains the same
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.