epam / Indigo

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

Macro: When opening a seq file with peptides via RNA or DNA, an error appears in the Console DevTool #1883

Closed ViktoriaTkacheva closed 3 months ago

ViktoriaTkacheva commented 3 months ago

Steps to Reproduce

  1. Switch to the Macro mode
  2. Open this file as Sequence - RNA or DNA Peptides.zip

Actual behavior The error appears on the canvas (Convert error! IndigoException: SEQUENCE loader: Invalid symbols in the sequence: E,D) and in the Console DevTool (POST https://rc.test.lifescience.opensource.epam.com/v2/indigo/convert 400 (Bad Request))

image image

rc.test.lifescience.opensource.epam.com-1711977506620.log

Expected behavior The error is displayed on the canvas, but there are no errors in the Console DevTool

Environment details:

Indigo version 1.19.0-rc.2.0

Issue found while testing https://github.com/epam/ketcher/issues/4109

Screenshots

https://github.com/epam/Indigo/assets/139227567/3cffad7e-f8c8-45d2-aae0-0aa74a5d0a48

AlexeyGirin commented 3 months ago

Not a bug - if client sends bad request - server honestly report about that

AlexeyGirin commented 3 months ago

Not a bug - we send wrong request to server - server returns error (you have an error on client side - 4xx)