epam / Indigo

Universal cheminformatics toolkit, utilities and database search tools
http://lifescience.opensource.epam.com
Apache License 2.0
295 stars 100 forks source link

Add/Remove hydrogens cleans up valence value if its equal 8 #1834

Open AlexeyGirin opened 5 months ago

AlexeyGirin commented 5 months ago

Steps to Reproduce

  1. Put on the canvas following SMARTS: [#6]#[F;v8]#[#6]
  2. Press Add/Remove implicit hydrogens button image

Actual behavior System folds 2 hydrogens (this is correct), cleans up valence value and shows valence problem sign (red underline) image

Expected behavior System folds 2 hydrogens (for central atom) image

Ketcher version [e.g. v2.4.2].