epam / epam/Indigo

Custom query bond ('Any' - ~) cause remove hydrogens to maifunction (not working) for double bond custom query type

Open
#1,795 1 comment 0 reactions 1 assignee Claimed by @AliaksandrDziarkach View on GitHub
Hydrogens Priority: Low Query features
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: [Custom query bond ('Any' - ~) cause remove hydrogens to maifunction (not working).zip](https://github.com/epam/Indigo/files/14557849/Custom.query.bond.Any.-.cause.remove.hydrogens.to.maifunction.not.working.zip) (unzip first)
2. Press Add/Remove explicit hydrogens button to fold hydrogens
3. Press Add/Remove explicit hydrogens button one more time to unfold hydrogens
![image](https://github.com/epam/Indigo/assets/26869421/f84b4efb-c7d4-475e-8b2f-ee79d80d7072)

**Actual behavior**
Hydrogens remain in place
![image](https://github.com/epam/Indigo/assets/26869421/483d0bd8-b028-48bd-b8a6-5a366e1a9b67)

**Expected behavior**
Hydrogens disappears
![image](https://github.com/epam/Indigo/assets/26869421/58e093b4-61d0-45fb-9ca9-61d2838a5086)

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