epam / epam/Indigo

Export to MOL of Double/Aromtic bond wrapped to R-Group fragment causes exception

Open
#1,673 1 comment 0 reactions 1 assignee Claimed by @AliaksandrDziarkach View on GitHub
Export to MOL Priority: Medium
Dominant language
C++
Stars
406
Forks
134
Avg merge
2d 11h
Merged PRs (30d)
24

Description

**Describe the bug**
Export to MOL of Double/Aromtic bond wrapped to R-Group fragment causes exception

**Steps to Reproduce**
1. Load from file: [Double-Aromatic in R-Group.zip](https://github.com/epam/ketcher/files/14097624/Double-Aromatic.in.R-Group.zip)
(unzip first)
2. Try to save it to Molfile V2000
![image](https://github.com/epam/ketcher/assets/26869421/d842ef07-4dc2-4b93-bdb6-df44d4bcad7f)

**Actual behavior**
System throws exception: molecule: casting to molecule is invalid
![image](https://github.com/epam/ketcher/assets/26869421/008e911c-b824-49fc-910b-bb9a2ba074c0)

**Expected behavior**
No exception

**Ketcher version** [e.g. v2.4.2].
- Indigo Toolkit Version 1.18.0-rc.5.0-gb21ab5ad5-wasm32-wasm-clang-12.0.0
- Ketcher Version 2.18.0-rc.2 Build at 2024-01-26; 15:56:57
- Chrome Version 120.0.6099.225 (Official Build) (64-bit)
- Win10
- Issue found while testing https://github.com/epam/Indigo/issues/1440
- Issue moved from https://github.com/epam/ketcher/issues/3992

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.