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 exist #5933

Closed
AlexeyGirin opened this issue Nov 7, 2024 · 1 comment · Fixed by #5955 or #5958
Closed
Assignees
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

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 exist.zip
    image
  3. Try to establish hydrogen 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 multiple hydrogen bonds between two monomers
image

As per requirement:

4.2.1. If the user tries to establish a hydrogen bond between two monomers who already have a hydrogen bond, they should get an error message: "Unable to establish multiple hydrogen bonds between two monomers".

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
@rrodionov91 rrodionov91 self-assigned this Nov 11, 2024
rrodionov91 added a commit that referenced this issue Nov 11, 2024
…o free attachment points

#5940 - Copy/paste operation works wrong (copy only two hydrogen bonds and drops others)

#5941 - Hydrogen bonds remain in place on monomer delete

#5933 - Error message is wrong if user tries to establish hydrogen bond if it is already exist
rrodionov91 added a commit that referenced this issue Nov 12, 2024
…o free attachment points (#5955)

#5940 - Copy/paste operation works wrong (copy only two hydrogen bonds and drops others)

#5941 - Hydrogen bonds remain in place on monomer delete

#5933 - Error message is wrong if user tries to establish hydrogen bond if it is already exist
rrodionov91 added a commit that referenced this issue Nov 12, 2024
…o free attachment points (#5955)

#5940 - Copy/paste operation works wrong (copy only two hydrogen bonds and drops others)

#5941 - Hydrogen bonds remain in place on monomer delete

#5933 - Error message is wrong if user tries to establish hydrogen bond if it is already exist
rrodionov91 added a commit that referenced this issue Nov 12, 2024
…o free attachment points (#5955) (#5958)

#5940 - Copy/paste operation works wrong (copy only two hydrogen bonds and drops others)

#5941 - Hydrogen bonds remain in place on monomer delete

#5933 - Error message is wrong if user tries to establish hydrogen bond if it is already exist
@AlexeyGirin
Copy link
Collaborator Author

Verified.
image

  • Ketcher Version 2.27.0-rc.2 Build at 2024-11-12; 19:26:10
  • Indigo Toolkit Version 1.26.0-rc.2.0-gfec30ecd8-wasm32-wasm-clang-19.0.0
  • Chrome Version 131.0.6778.70 (Official Build) (64-bit)
  • Win10

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
2 participants