epam / ketcher

Web-based molecule sketcher
https://lifescience.opensource.epam.com/ketcher/demo.html
Apache License 2.0
505 stars 175 forks source link

Incorrect behavior when both charge and valence are set, leading to inconsistent atom validation #5852

Open Zhirnoff opened 1 month ago

Zhirnoff commented 1 month ago

Steps to Reproduce

  1. Open Ketcher and draw any chemical structure.
  2. Select an atom and assign both a charge and a valence to it.
  3. Observe validation and behavior of the atom's properties on canvas.

Actual behavior

Expected behavior

Screenshots 2024-10-24_14h36_26 image (2)

Desktop:

Ketcher version [Version 2.26.0-rc.5] Indigo version [Version 1.25.0-rc.3]