epam / epam/Indigo

getSequence should not give a response to the preservation of nucleotide compounds with other monomers

Open
#2,133 0 comments 0 reactions 1 assignee Claimed by @AliaksandrDziarkach View on GitHub
Indigo API Priority: Low
Dominant language
C++
Stars
406
Forks
134
Avg merge
2d 11h
Merged PRs (30d)
24

Description

**Steps to Reproduce**
1. Open Macromolecules mode - Flex mode
2. Open Console
3. Add schema from file [Schema nucleotide with chem with different connections.ket.zip](https://github.com/user-attachments/files/16266559/Schema.nucleotide.with.chem.with.different.connections.ket.zip)
4. Type in the Console `ketcher.getSequence()`

**Expected behavior**
An error should be displayed
![Снимок экрана 2024-07-17 в 16 09 37](https://github.com/user-attachments/assets/f9ab7fa9-346a-417e-aa7f-2618ddd6a234)

**Actual behavior**
A response with the code is displayed
![Снимок экрана 2024-07-17 в 16 25 42](https://github.com/user-attachments/assets/a57f0922-8b31-4d54-bcc5-5aa9f65137f7)

The issue is the same for these files:
[Schema nucleotide with base with different connections.ket.zip](https://github.com/user-attachments/files/16266876/Schema.nucleotide.with.base.with.different.connections.ket.zip)
[Schema nucleotide with peptide with different connections.ket.zip](https://github.com/user-attachments/files/16266877/Schema.nucleotide.with.peptide.with.different.connections.ket.zip)
[Schema nucleotides with phosphate with different connections.ket.zip](https://github.com/user-attachments/files/16266878/Schema.nucleotides.with.phosphate.with.different.connections.ket.zip)
[Schema nucleotide with sugar with different connections.ket.zip](https://github.com/user-attachments/files/16266879/Schema.nucleotide.with.sugar.with.different.connections.ket.zip)

**Environment details:**
Ketcher Version 2.23.0-rc.2 Build at 2024-07-10; 19:39:22
Indigo Version 1.22.0-rc.2.0-ga21fb5d8f-wasm32-wasm-clang-19.0.0
Chrome Версия 126.0.6478.127 (Официальная сборка), (arm64)
MacOs Sonoma 14.5
Issue found for https://github.com/epam/ketcher/issues/4382

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.