-
Notifications
You must be signed in to change notification settings - Fork 176
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
Macro: RNA Builder allows creating an invalid preset with disconnected sugar #3816
Labels
Milestone
Comments
olganaz
changed the title
Macro: Preset which is consisted of monomers without AP necessary to form connections inside preset could be saved in library, but when user ties to add it to canvas, it causes exception in console.
Macro: Preset which is consisted of monomers without AP necessary to form connections inside preset could be saved in library, but when user tries to add it to canvas, it causes exception in console.
Dec 27, 2023
rrodionov91
modified the milestones:
Macromolecules Milestone 4,
Macromolecules Milestone 5
Dec 27, 2023
vanoprenko
changed the title
Macro: Preset which is consisted of monomers without AP necessary to form connections inside preset could be saved in library, but when user tries to add it to canvas, it causes exception in console.
Macro: RNA Builder allows creating an invalid preset with disconnected sugar
Mar 14, 2024
NataliaLoginova
assigned mate-meszaros-epam and unassigned erdem-ozyurt and mate-meszaros-epam
Apr 15, 2024
vitaepam
added a commit
that referenced
this issue
May 9, 2024
vitaepam
added a commit
that referenced
this issue
May 10, 2024
vitaepam
added a commit
that referenced
this issue
May 28, 2024
vitaepam
added a commit
that referenced
this issue
May 29, 2024
vitaepam
added a commit
that referenced
this issue
May 30, 2024
vitaepam
added a commit
that referenced
this issue
May 30, 2024
ilya-asiyuk-epam
added a commit
that referenced
this issue
May 31, 2024
…ting-an-invalid-preset-with-disconnected-sugar #3816 - Added validations and monomer Item disablement
vitaepam
added a commit
that referenced
this issue
May 31, 2024
9 tasks
vitaepam
added a commit
that referenced
this issue
May 31, 2024
vitaepam
added a commit
that referenced
this issue
May 31, 2024
vitaepam
added a commit
that referenced
this issue
Jun 2, 2024
…ting-an-invalid-preset-with-disconnected-sugar-release #3816 - Update RNA Builder validations
Merged into 2.21 branch - #4721 |
9 tasks
Alexey and I agreed that the task would be closed. An issue will be created for the case found by Alexey. |
Alexey Girin will create issue for the case that he found. |
This was referenced Jun 5, 2024
Tested. We still can create forbidden RNA preset. We have bug for it in 2.23 #4763
Ketcher version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
RNA Builder allows user to select a sugar without R3 connection (e.g. '3SS6') while creating a new preset and save this preset in monomer library. If user further tries to add this preset to canvas,
Uncaught ReferenceError: process is not defined
error appears in browser console and the operation doesn't succeed.Instead, RNA Builder should not allow using sugar, base or phosphate as a building block if corresponding monomer doesn't have connection point required for connecting with other monomers in the nucleotide. If user selects a monomer while RNA Builder is in editing mode, the following checks should be applied:
A preset can only have the following structures:
If user validation rule is violated corresponding error should be shown in a pop-up error box and 'Save'/'Add to presets' button should be disabled
Ketcher version
[Version 2.17.0-rc.2]
Related issue: #3615
The text was updated successfully, but these errors were encountered: