Load following IDT string using Paste from Clipboard way: /32MOErC/*/32MOErT/
Actual behavior
System throws an error: Convert error! Given string could not be loaded as (query or plain) molecule or reaction, see the error messages: 'SEQUENCE loader: IDT alias 32MOErC not found at five-prime end position.'
Expected behavior
System throws an error: Position of monomer 1 in sequence contradicts its code
As per requirement:
In case if position indicator in IDT code contradicts real position of the monomer in the chain,
this should be treated as format error and import should fail with appropriate error message:
Position of monomer \<IDT id> in sequence contradicts its code
Versions:
Indigo Toolkit Version 1.21.0-rc.1.0-g9194599b2-wasm32-wasm-clang-19.0.0
Ketcher Version 2.22.0-rc.2 Build at 2024-06-03; 18:43:00
Chrome Version 125.0.6422.142 (Official Build) (64-bit)
Steps to Reproduce
/32MOErC/*/32MOErT/
Actual behavior System throws an error: Convert error! Given string could not be loaded as (query or plain) molecule or reaction, see the error messages: 'SEQUENCE loader: IDT alias 32MOErC not found at five-prime end position.'![image](https://github.com/epam/Indigo/assets/26869421/414014c3-0aa2-4ccf-afee-f00442eb4c75)
Expected behavior System throws an error: Position of monomer 1 in sequence contradicts its code![image](https://github.com/epam/Indigo/assets/26869421/761ada87-8148-47e5-9beb-a981372c40a1)
As per requirement:
Versions:
Issue found while testing https://github.com/epam/Indigo/issues/1899