Adding hydrogens doesn't work for "Custom query bonds" wrapped into "Query component" type S-Group
- Dominant language
- C++
- Stars
- 406
- Forks
- 134
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 24
Description
**Ketcher version** [e.g. v2.4.2].
- Indigo Toolkit Version 1.18.0-dev.4.0-g085ab345f-x86_64-linux-gnu-11.2.1
- Ketcher Version 2.17.0-rc.2 Build at 2024-01-03; 17:17:22
- Chrome Version 120.0.6099.225 (Official Build) (64-bit)
- Win10
- Issue found while testing https://github.com/epam/Indigo/issues/1436
**Describe the bug**
Adding hydrogens doesn't work for Custom query bonsds wrapped into Query components type S-Group

**Steps to Reproduce**
1. Load from file: [Adding hydrogens doesn't work for Custom query bonsds wrapped into Query components type S-Group.zip](https://github.com/epam/Indigo/files/14076004/Adding.hydrogens.doesn.t.work.for.Custom.query.bonsds.wrapped.into.Query.components.type.S-Group.zip) (unzip first)
3. Press Add/Remove explicit hydrogens button
**Actual behavior**
System throws exception: IndigoException: array: invalid index 4 (size=4)


[uat.test.lifescience.opensource.epam.com-1706444618732.log](https://github.com/epam/Indigo/files/14076007/uat.test.lifescience.opensource.epam.com-1706444618732.log)
**Expected behavior**
No exception happens
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.