epam / epam/Indigo

An error appears after applying Dearomatize to a reaction that has bonds

Open
#1,308 0 comments 0 reactions 1 assignee Claimed by @even1024 View on GitHub
Dominant language
C++
Stars
406
Forks
134
Avg merge
2d 11h
Merged PRs (30d)
24

Description

**Steps to Reproduce**
1. Launch "Ketcher"
2. Open the Console
3. Draw a reaction where there is the Benzene on one side and the Double Bond on the other side
4. Click on the "Aromatize" button
5. Click on the "Dearomatize" button
6. Remove the Double Bond and add in its place the Single/Double Bond (or Any Bond, or Single/Aromatic Bond, or Double/Aromatic Bond)
7. Click on the "Aromatize" button
8. Click on the "Dearomatize" button
9. Compare results after 5 and 8 points

**Expected behavior**
If the reaction contains any bonds, there is no error on the canvas and in the console

**Actual behavior**
If the reaction contains the Single/Double Bond or the Any Bond, or Single/Aromatic Bond, or Double/Aromatic Bond, then an error appears on the canvas and in the console

**Attachments**
image

image

**Indigo/Bingo version**
1.14.0-rc.5.1

**Desktop (please complete the following information):**
• OS: Windows 10 Pro (version 22H2) x64
• Browser: Сhrome
• Version: (114.0.5735.199) x64

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.