Fold/Unfold hydrogens changes valence value from 7(or 8) to 6
- 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)

2. Press Add/Remove explicit hydrogens button (to unfold hydrogens)

3. Press Add/Remove explicit hydrogens button one more time (to fold hydrogens)
**Actual behavior**
System changes valence value from 7 to 6

**Expected behavior**
Valence value remains the same

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