Add/Remove explicit hydrogens doesn't work for s-group query component - array: invalid index 2 (size=2)
- Dominant language
- C++
- Stars
- 406
- Forks
- 134
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 24
Description
**Steps to Reproduce**
1. Open from file as New project: [Add-Remove explicit hydrogens doesn't work for s-group query component - array - invalid index 2 (size=2).zip](https://github.com/epam/Indigo/files/14556434/Add-Remove.explicit.hydrogens.doesn.t.work.for.s-group.query.component.-.array.-.invalid.index.2.size.2.zip) (unzip first)
2. Press Add/Remove explicit hydrogens button

**Actual behavior**
System throws exception:


[192.168.1.40-1710149987027.log](https://github.com/epam/Indigo/files/14556454/192.168.1.40-1710149987027.log)
**Expected behavior**
No exception

**Ketcher version** [e.g. v2.4.2].
- Indigo Toolkit Version 1.19.0-dev.1.0-g9fa8cfe30-wasm32-wasm-clang-12.0.0
- Ketcher Version 2.19.0-rc.2 Build at 2024-03-11; 06:46:03
- Chrome Version Version 122.0.6261.112 (Official Build) (64-bit)
- Win10
- Issue found while testing https://github.com/epam/Indigo/issues/1436
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.