epam / Indigo

Universal cheminformatics toolkit, utilities and database search tools
http://lifescience.opensource.epam.com
Apache License 2.0
291 stars 100 forks source link

Empty body of RNA (RNA1{}$$$$V2.0) is not a valid - error should occure #2057

Open AlexeyGirin opened 2 days ago

AlexeyGirin commented 2 days ago

NOTE: Same problem for other polymer types: CHEM and PEPTIDE - have to be fixed in the same way

Steps to Reproduce

  1. Go to Macromolecules mode - Flex mode
  2. Load using paste from clipboard IDT type: RNA1{}$$$$V2.0 image

Actual behavior System loads empty canvas

Expected behavior System should show an error: RNA definition is missing (or something like that)

Versions

Issue found while testing - https://github.com/epam/Indigo/issues/1188