epam / epam/Indigo

Remove hydrohens doen't work for Single Down bond

Open
#1,837 1 comment 0 reactions 0 assignees 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. Put on the canvas following SMILES: `[#15]\[#15]\[#15]`
2. Press Add/Remove implicit hydrogens button to fold hydrogens
(ABS label disappears - known bug - https://github.com/epam/Indigo/issues/1836)
3. Press Add/Remove implicit hydrogens button to unfold hydrogens
![image](https://github.com/epam/Indigo/assets/26869421/828aadec-e24e-4647-b1db-3d1560038e8e)

**Actual behavior**
Most hydrogens remain in place
![image](https://github.com/epam/Indigo/assets/26869421/1ae9d071-0a4a-43c7-ad8e-9a2626a24e42)

**Expected behavior**
All hydrogens disappears
![image](https://github.com/epam/Indigo/assets/26869421/828aadec-e24e-4647-b1db-3d1560038e8e)

**Ketcher version** [e.g. v2.4.2].
- Indigo Toolkit Version 1.18.0.0-g73c32dec3-wasm32-wasm-clang-12.0.0
- Ketcher Version 2.19.0-rc.2 Build at 2024-03-11; 12:30:30
- 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

Research direction

Reproduce the issue in Ketcher with the SMILES `[#15]\[#15]\[#15]`, using the Add/Remove implicit hydrogens button twice. Start by tracing that toggle through the Ketcher–Indigo WASM integration; compare the result with the expected state where all hydrogens disappear, and verify the behavior against the reported Indigo and Ketcher versions.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, wasm
Domain
computer-graphics, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.