epam / epam/Indigo

SVG/PNG: Export doesn't work for Multiple s-group molecules - system throws exception

Open
#3,355 2 comments 0 reactions 0 assignees View on GitHub
Export to SVG/PNG Priority: High
Dominant language
C++
Stars
406
Forks
134
Avg merge
2d 11h
Merged PRs (30d)
24

Description

**Steps to Reproduce**
1. Load from file: [Export doesn't work for Multiple s-group molecules - system throws exception.zip](https://github.com/epam/ketcher/files/15365846/Export.doesn.t.work.for.Multiple.s-group.molecules.-.system.throws.exception.zip)

OR put on the Micro canvas following molecule wrapped Multiple to s-group:
![image](https://github.com/epam/Indigo/assets/26869421/ad05933e-fdcc-485e-a99b-7ad548c55c37)
2. Export canvas to SVG (same for PNG)

**Actual behavior**
System throws exception: molecule render internal: Unknown single bond stereo type
![image](https://github.com/epam/Indigo/assets/26869421/5fb4cb42-2b93-4b7a-a4c2-c53683a91b98)
![image](https://github.com/epam/Indigo/assets/26869421/8ea7a2e4-ef8b-4731-a1e7-eb1f618c1c5b)
[ci.test.lifescience.opensource.epam.com-1716045960729.log](https://github.com/epam/ketcher/files/15365849/ci.test.lifescience.opensource.epam.com-1716045960729.log)

**Expected behavior**
No exception
![image](https://github.com/epam/ketcher/assets/26869421/7d50fa1d-d0ce-42d8-8fbf-725e2c60f253)

**Versions** [e.g. v2.4.2].
- Indigo Toolkit Version 1.20.0-dev.1.32-gf28bad61-wasm32-wasm-clang-12.0.0
- Ketcher Version 2.21.0-rc.2 Build at 2024-05-13; 05:32:02
- Chrome Version 124.0.6367.201 (Official Build) (64-bit)
- Windows 10

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.