Closed MartaWilliams closed 5 months ago
Test added to the automation table.
Placed in 2.21.0-rc.1 since a similar ticket is there https://github.com/epam/ketcher/issues/3816
Moved to Refined Backlog since no interest for more than 3 releases
Fixed.
IMPORTANT: Priority has been rose since attempt to put impossible preset beaks the canvas and causes its complete malfunction
Steps to Reproduce
examples: 3SS6(nC65C)oxy/ am6(daA)Rsp
Actual behavior Is is possible to save preset without bond between sugar and base. It is not possible to add the built RNA to the canvas when sugar does not contain R3 attachment point
https://github.com/epam/ketcher/assets/82752700/adb54745-32ed-416a-93f0-3ee4104081f9
Expected behavior If sugar added to RNA builder doesn't have R2 or R3 AP, OR phosphate doesn't have R1 AP, OR base doesn't have R1 AP, then the Error message should appear and preset should not be saved. Error message:
If defected preset already exists in library, then it could be added to canvas as a group of monomers, but the bonds should be established only between existing AP.
Screenshots
Test case https://github.com/epam/ketcher/issues/3509 https://github.com/epam/ketcher/issues/3475