epam / epam/Indigo

Fold/Unfold hydrogens changes valence value from 7(or 8) to 6

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

Description

**Describe the bug**
Fold/Unfold hydrogens changes valence value from 7(or 8) to 6

**Steps to Reproduce**
1. Load from file: [Fold-Unfold hydrogens changes valence value from 8 to 7.zip](https://github.com/epam/ketcher/files/14416904/Fold-Unfold.hydrogens.changes.valence.value.from.8.to.7.zip)
![image](https://github.com/epam/ketcher/assets/26869421/21467430-9ab0-49ae-b761-5669f6137bd4)
2. Press Add/Remove explicit hydrogens button (to unfold hydrogens)
![image](https://github.com/epam/ketcher/assets/26869421/5339ebcd-f6b1-431e-b971-99698d1add2c)
3. Press Add/Remove explicit hydrogens button one more time (to fold hydrogens)

**Actual behavior**
System changes valence value from 7 to 6
![image](https://github.com/epam/ketcher/assets/26869421/41dd2f53-ed0b-4614-ab20-d70289b1ca7c)

**Expected behavior**
Valence value remains the same
![image](https://github.com/epam/ketcher/assets/26869421/21467430-9ab0-49ae-b761-5669f6137bd4)

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