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

Preview: Error occurs on click of "Remove Explicit Hydrogens" in reaction #2755

Open
Zhirnoff opened this issue Feb 6, 2025 · 0 comments
Open
Labels

Comments

@Zhirnoff
Copy link
Collaborator

Zhirnoff commented Feb 6, 2025

Summary
An error appears on attempt to Remove hydrogens. The Add hydrogens works correctly.

Steps to Reproduce

  1. Load a reaction from a KET file onto the canvas. ket-cascade-reaction-3-1-2-1-1.zip
  2. Click "Add/Remove Explicit Hydrogens" and verify the reaction updates correctly
  3. Click "Remove Explicit Hydrogens" again.

Actual behavior
The first click works correctly, but the second click produces an error.
The error message states: "Given string could not be loaded as (query or plain) molecule or reaction, see the error messages: 'molecule json loader: Not a molecule. Found 3 arrows.'"

Image

Expected behavior
Explicit hydrogens should be removed correctly on repeated actions, with no errors.

Desktop:

  • OS: Windows 11
  • Browser Chrome
  • Version 131.0.6778.205 (Official Build) (64-bit)

Ketcher version
[Version 3.0.0-rc.1]
Indigo version
[Version 1.27.0-dev.3]

Additional context
Bug found by autotest Reactions/Reaction-tools/Multi-Tailed-Arrow-Tool/multi-tailed-arrow-tool.spec.ts:3852

@Zhirnoff Zhirnoff added Cascade reactions Priority: High Severity: High High level visibility to the user labels Feb 6, 2025
@Zhirnoff Zhirnoff added this to the Indigo-1.30.0-rc.1 milestone Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant