Indigo icon indicating copy to clipboard operation
Indigo copied to clipboard

Copy to clipboard doesn't work (throws exception) for very simple custom query bond

Open AlexeyGirin opened this issue 1 year ago • 3 comments

Environment details (please complete the following information):

  • Indigo Toolkit Version 1.18.0-rc.4.0-g84a1f903f-x86_64-linux-gnu-11.2.1
  • Ketcher Version 2.18.0-rc.2 Build at 2024-01-17; 16:42:55
  • Chrome Version 120.0.6099.130 (Official Build) (64-bit)
  • Win10
  • Issue found while testing https://github.com/epam/Indigo/issues/1436

Describe the bug Copy to clipboard doesn't work (throws exception) for very simple custom query bond image

Steps to Reproduce

  1. Load from file: Copy to clipboard doesn't work (throws exception) for very simple custom query bond.zip (unzip first)
  2. Press Ctrl+A keys
  3. Press Ctrl+C keys

Actual behavior System throws exception: Convert error! IndigoException: molfile saver: unrepresentable query bond: (order = 3 | order = 4) image

Expected behavior No exception. Works as intended

AlexeyGirin avatar Jan 26 '24 13:01 AlexeyGirin

This is molfile restriction.

AliaksandrDziarkach avatar Jan 26 '24 19:01 AliaksandrDziarkach

Should work. Result should not contain unsupported features in mol format

AlexeyGirin avatar Jan 29 '24 14:01 AlexeyGirin

Moved to Refined Backlog since not fixed over 2 releases

AlexeyGirin avatar Apr 17 '24 19:04 AlexeyGirin