epam / Indigo

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

Error message is wrong for missing ratio number (RNA1{(r(A)p:+r(C)p:200)}$$$$V2.0) #2268

Closed AlexeyGirin closed 1 month ago

AlexeyGirin commented 1 month ago

Steps to Reproduce

  1. Toggle to Macromolecules mode
  2. Load using Paste from clipboard way: RNA1{(r(A)p:+r(C)p:200)}$$$$V2.0 image

Actual behavior Error message is wrong: Convert error! Given string could not be loaded as (query or plain) molecule or reaction, see the error messages: 'SEQUENCE loader: Unmatched '('' image

Expected behavior Error message should report that ratio number is missed

Versions

Found while testing - https://github.com/epam/Indigo/issues/2188

AlexeyGirin commented 1 month ago

Verified. image

Versions