epam / epam/Indigo

Fold/Unfold hydrogens changes Implicit H count value to forbidden 9 valence value

Open
#1,749 2 comments 0 reactions 1 assignee Claimed by @AliaksandrDziarkach View on GitHub
Priority: Low query features phase II
Dominant language
C++
Stars
406
Forks
134
Avg merge
2d 11h
Merged PRs (30d)
24

Description

**Describe the bug**
Fold/Unfold hydrogens changes Implicit H count value to forbidden 9 valence value

**Steps to Reproduce**
1. Load from file: [implicitHCount - 9.zip](https://github.com/epam/ketcher/files/14417555/implicitHCount.-.9.zip)
2. Press Add/Remove explicit hydrogens button (to add hydrogens)
3. Press Add/Remove explicit hydrogens button one more time (to remove hydrogens)
![image](https://github.com/epam/ketcher/assets/26869421/4f79c913-d96f-47a9-a334-6d7616f72fa1)

**Actual behavior**
System vanishes Implicit H count value and add hidden valence value = 9
![image](https://github.com/epam/ketcher/assets/26869421/fbe51e36-6a8a-4bfc-826f-75dc9b54035b)

**Expected behavior**
Implicit H count value remains the same
![image](https://github.com/epam/ketcher/assets/26869421/4f79c913-d96f-47a9-a334-6d7616f72fa1)

**Environment details (please complete the following information):**
- Ketcher Version 2.18.0-rc.8 Build at 2024-02-22; 17:34:35
- Indigo Toolkit Version 1.18.0-rc.8.0-g85a393c7c-x86_64-linux-gnu-11.2.1
- Firefox Version 123.0 (64-bit)
- Win10
- Issue found while testing https://github.com/epam/Indigo/issues/1589

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.