epam / ketcher

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

Error message Convert error! IndigoException: inchi-wrapper: Indigo-InChI: InChI generation failed: Empty structure Code: 2. InChi for empty canvas #1058

Closed AllaZhbanova closed 2 years ago

AllaZhbanova commented 2 years ago

Steps to Reproduce

  1. Open Ketcher
  2. Click the Save As button (for empty canvas).
  3. Choose the 'InChi' format.

Expected behavior The input field contains InChI=1S// string.

Actual behavior Error message Convert error! IndigoException: inchi-wrapper: Indigo-InChI: InChI generation failed: Empty structure. Code: 2.

Screenshots 2021-12-03_16h26_07 I

Desktop (please complete the following information):

ViktoriiaFedotkina commented 2 years ago

Related issue https://github.com/epam/Indigo/issues/548

AllaZhbanova commented 2 years ago

Fixed, tested 2.4