epam / epam/Indigo

Add/Remove explicit hydrogens doesn't work for s-group query component - array: invalid index 2 (size=2)

Open
#1,794 1 comment 0 reactions 1 assignee Claimed by @AliaksandrDziarkach View on GitHub
Hydrogens Priority: Medium
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
![image](https://github.com/epam/Indigo/assets/26869421/4f8f9f74-f5ec-4c0d-ae06-0b3b1113a1e6)

**Actual behavior**
System throws exception:
![image](https://github.com/epam/Indigo/assets/26869421/aa4387fd-2f05-4999-9412-2471139cd69e)
![image](https://github.com/epam/Indigo/assets/26869421/8034230c-40bb-4941-a38e-ec82e52dc89e)
[192.168.1.40-1710149987027.log](https://github.com/epam/Indigo/files/14556454/192.168.1.40-1710149987027.log)

**Expected behavior**
No exception
![image](https://github.com/epam/Indigo/assets/26869421/d06c0b0d-2bf7-48b4-aea2-d09dacb2050c)

**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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.