epam / epam/Indigo

Add/Remove explicit hydrogens feature doesn't work for Aromatic Either bond ([#6]:[#6])

Open
#1,667 1 comment 0 reactions 0 assignees View on GitHub
Hydrogens Priority: Low
Dominant language
C++
Stars
406
Forks
134
Avg merge
2d 11h
Merged PRs (30d)
24

Description

**Environment details (please complete the following information):**
- Ketcher Version 2.18.0-rc.4 Build at 2024-02-06; 13:45:28
- Indigo Toolkit Version 1.18.0-rc.6.0-g98bf384e0-x86_64-linux-gnu-11.2.1
- Chrome Version 120.0.6099.130 (Official Build) (64-bit)
- Win10
- Issue found while testing https://github.com/epam/Indigo/issues/1436
- Issue followed up from https://github.com/epam/Indigo/issues/1544

**Describe the bug**
Add/Remove explicit hydrogens feature doesn't work for Aromatic Either bond (`[#6]:[#6]`)

**Steps to Reproduce**
1. Load from file: [AromaticEitherBond.zip](https://github.com/epam/Indigo/files/13933043/AromaticEitherBond.zip) (unzip first)
2. Press Add/Remove explicit hydrogens button
![image](https://github.com/epam/Indigo/assets/26869421/5b9ba4f5-fc5d-422a-983e-0598fc82c4fc)

Actual behavior:
Nothing happens
![image](https://github.com/epam/Indigo/assets/26869421/3ff17bdb-83fb-4626-b1f8-4acb0d12acf4)

Expected behavior:
![image](https://github.com/epam/Indigo/assets/26869421/85863aa4-03ef-42ea-8fce-a4b9ea413024)

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the failure using AromaticEitherBond.zip in Ketcher 2.18.0-rc.4 and the Add/Remove explicit hydrogens button. Trace how the Indigo toolkit handles the aromatic either bond ([#6]:[#6]) during explicit-hydrogen processing. Done means the button changes the structure as shown in the expected-behavior image instead of doing nothing.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.