epam / epam/Indigo

Adding hydrogens works for complex Custom query bond but it shouldn't

Open
#1,622 1 comment 0 reactions 1 assignee Claimed by @AliaksandrDziarkach View on GitHub
Hydrogens Priority: High Query features
Dominant language
C++
Stars
406
Forks
134
Avg merge
2d 11h
Merged PRs (30d)
24

Description

**Environment details (please complete the following information):**
- Indigo Toolkit Version 1.18.0-rc.4.0-g84a1f903f-x86_64-linux-gnu-11.2.1
- Ketcher Version 2.18.0-rc.2 Build at 2024-01-17; 16:42:55
- Chrome Version 120.0.6099.130 (Official Build) (64-bit)
- Win10
- Issue found while testing https://github.com/epam/Indigo/issues/1436

**Describe the bug**
Adding hydrogens works for complex Custom query bond but it shouldn't
![image](https://github.com/epam/Indigo/assets/26869421/48d5661a-6923-4cf0-a920-9d7088838ce0)

**Steps to Reproduce**
1. Load from file: [Adding hydrogens works for complex Custom query bond but it shouldn't.zip](https://github.com/epam/Indigo/files/14065456/Adding.hydrogens.works.for.complex.Custom.query.bond.but.it.shouldn.t.zip) (unzip first)
2. Press Add/Remove explicit hydrogens button

**Actual behavior**
System adds hydrogens to atoms
![image](https://github.com/epam/Indigo/assets/26869421/c5c269a9-2443-46a6-9a08-12778bdd59ac)

**Expected behavior**
System doesn't add hydrogens to atoms
![image](https://github.com/epam/Indigo/assets/26869421/70f7e3c8-fb33-4a17-90f5-df26c38e68aa)

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.