epam / ketcher

Web-based molecule sketcher
https://lifescience.opensource.epam.com/ketcher/demo.html
Apache License 2.0
505 stars 176 forks source link

Reactions are not opened in Daylight SMARTS format #1702

Open dariasviridova opened 2 years ago

dariasviridova commented 2 years ago

Steps to Reproduce

  1. Launch Ketcher in remote/standalone mode
  2. Add reaction to canvas (e.g. benzene+benzene->cyclopentane)
  3. Click on 'Save' button or Ctr+C
  4. Choose 'Daylight SMARTS' in 'File format' dropdown

Expected behavior The reaction information is written according to specification in 'Preview' tab. User is able to click 'Save' button and save file.

Actual behavior Error is appeared.

Screenshots

2022-08-26_16h10_47

Desktop:

Ketcher version Remote/Standalone 2.5.0.

porcelain11 commented 2 years ago

Daylight SMARTS format conversion is currently processed by server (through ServerFormatter), we getting error ("IndigoException: SMILES saver: SMARTS format availble for query only!") from server, when it's trying to convert the result string (got the same error on Postman, screenshot attached)

Screenshot 2022-09-02 at 17 13 21
porcelain11 commented 2 years ago

Checked on new api route https://apin.test.lifescience.opensource.epam.com - got same error

Zhirnoff commented 2 years ago

Indigo issue https://github.com/epam/Indigo/issues/840