Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add/Remove explicit hydrogens feature doesn't work if atom with problem valence present on canvas (crash happens) #1538

Closed
AlexeyGirin opened this issue Jan 13, 2024 · 2 comments · Fixed by #1615 or #1710

Comments

@AlexeyGirin
Copy link
Collaborator

AlexeyGirin commented Jan 13, 2024

Environment details (please complete the following information):

Describe the bug
Add/Remove explicit hydrogens feature doesn't work if atom with problem valence present on canvas (crash happens)

Steps to Reproduce

  1. Load from file: BadValenceAtomCausesCrash.zip (unzup first)
  2. Press Add/Remove explicit hydrogens button

Actual behavior
System throws exception
IndigoException: element: bad valence on C having 5 drawn bonds, charge 0, and 0 radical electrons
uat.test.lifescience.opensource.epam.com-1705183134610.log

Expected behavior
Add/Remove explicit hydrogens feature works as intended
image

@AlexeyGirin
Copy link
Collaborator Author

AlexeyGirin commented Jan 22, 2024

Decided to fix in Query Features - Phase II

Should not throw exception

@AlexeyGirin
Copy link
Collaborator Author

Fixed.
Version 1.18.0-rc.5.0-gb21ab5ad5-wasm32-wasm-clang-12.0.0
image

AliaksandrDziarkach added a commit that referenced this issue Feb 15, 2024
…f atom with problem valence present on canvas (crash happens) (#1615)
AlexanderSavelyev pushed a commit that referenced this issue Feb 16, 2024
…f atom with problem valence present on canvas (crash happens) (#1615) (#1710)
@github-project-automation github-project-automation bot moved this to Done in Indigo Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment