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

Error message is wrong if user tries to establish hydrogen bond if it is already has single one #5934

Open
AlexeyGirin opened this issue Nov 7, 2024 · 0 comments
Labels
Flex mode Bucket: Flex canvas related mode Hydrogen bonds Bucket: Bugs related to Hydrogen bonds Priority: Low Snake mode Bucket: Snake mode related issues

Comments

@AlexeyGirin
Copy link
Collaborator

AlexeyGirin commented Nov 7, 2024

Steps to Reproduce

  1. Go to Macro - Flex mode
  2. Load from file: Error message is wrong if user tries to establish hydrogen bond if it is already has single one.zip
    image
  3. Try to establish single bond connection between peptides one more time

Actual behavior
System throws an error: There can't be more than 1 bond between the first and the second monomer
image

Expected behavior
System throws an error: Unable to establish a hydrogen bond between two monomers connected with a single bond
image

As per requirement:

4.2.2. If the user tires to establish a hydrogen bond between two monomers who are connected via a single bond, they should get an error message: "Unbale to establish a hydrogen bond between two monomers connected with a single bond".

Versions

  • Ketcher Version 2.27.0-rc.1 Build at 2024-11-05; 14:55:18
  • Indigo Toolkit Version 1.26.0-rc.1.0-g904d2d992-wasm32-wasm-clang-19.0.0
  • Chrome Version 130.0.6723.117 (Official Build) (64-bit)
  • Win10

Found while testing - #5403

@AlexeyGirin AlexeyGirin added bug Priority: Low Snake mode Bucket: Snake mode related issues Flex mode Bucket: Flex canvas related mode labels Nov 7, 2024
@AlexeyGirin AlexeyGirin added this to the Ketcher 2.27.0-rc.2 milestone Nov 7, 2024
@AlexeyGirin AlexeyGirin added the Hydrogen bonds Bucket: Bugs related to Hydrogen bonds label Nov 7, 2024
@AlexeyGirin AlexeyGirin removed the bug label Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Flex mode Bucket: Flex canvas related mode Hydrogen bonds Bucket: Bugs related to Hydrogen bonds Priority: Low Snake mode Bucket: Snake mode related issues
Projects
None yet
Development

No branches or pull requests

2 participants