epam / epam/Indigo

Add/Remove hydrpgens doesn't work for single down stereo-bond wrapped into Multipal group type of S-Group

Open
#1,637 1 comment 0 reactions 1 assignee Claimed by @AliaksandrDziarkach View on GitHub
Hydrogens Priority: Low
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**
Add/Remove hydrpgens doesn't work for stereo-bonds

**Steps to Reproduce**
1. Load from file: [_zero bond length near atom 0.zip](https://github.com/epam/Indigo/files/14095491/_zero.bond.length.near.atom.0.zip) (unzip first)
3. Press Add/Remove explicit hydrogens button
![image](https://github.com/epam/Indigo/assets/26869421/fa34d433-9d38-44c2-b8df-16a9fa680cec)

**Actual behavior**
System throws exception: Given string could not be loaded as (query or plain) molecule or reaction, see the error messages: 'stereocenters: zero bond length near atom 0', 'RXN loader: bad header {', 'RXN loader: bad header {', 'stereocenters: zero bond length near atom 0'
![image](https://github.com/epam/Indigo/assets/26869421/df4d3d99-c608-46eb-a98e-ce7cc24c01d9)

**Expected behavior**
No exception happens, works as intended

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.