Position single elements and reactions, not included to the first cascade reaction #2102
Labels
Cascade reactions
MMPK
Scope for Pathway reactions, View-only mode, Static images, Custom buttons and Ketcher API changes
Test Cases Written
Test cases has been written for that issue
Milestone
As a User, I want any reactions or elements in the RDF file that are not included in the reaction tree to be placed below the reaction tree on the canvas, so that I can view all the data from the RDF file in a structured and organized manner.
Acceptance Criteria:
The application should identify any reactions or elements in the loaded RDF file that are not included in the reaction tree.
Reactants and products without match should be understand as a separate reactions.
These identified reactions or elements should be placed on the canvas below the reaction tree. They should not overlap with the reaction tree or with each other.
Reactions not included to a pathway reaction, should be displayed as separate multi-tail reactions.
Reactions with more than one product can be a part of pathway reaction if the match happens, they will be displayed without pluses, otherwise reactions will be displayed as separate ones with a multi-tail arrow when we have several reactants and with a single arrow when we have 1 reactant
TBD: Molecule with atoms that are placed on the same position can be loaded as reactants or products in pathway reaction - issues with existing behavior, defects are reported - "Convert error! metalayout: average bond length is too small" error appears when loading from RDF and RXN V2000/V3000 reactions with molecules with 0 coordinates #2431, Molecule with 0 coordinates in MOL V2000 is displayed incorrectly on Canvas after loading #2432
Reagents should be ignored (TBD - create a task for case where reagents can be recognized)
In case of empty RDF (no reactions, reactants or products), nothing should be added to the canvas.
In cases of one reactant or one product in pathway reaction, it should works as for single arrow in RXN
RDF file can be recognized if there are reactions, RDF file with molecules only can't be recognized - error is displayed
After loading from the RDF file, the ordering of separate cascade reactions on Canvas should be the same as in the RDF file
The text was updated successfully, but these errors were encountered: