epam / epam/Indigo

We still need to produce a more meaningful error like `xxx was not recognized as a valid SMILES string`

Open
#2,837 0 comments 0 reactions 0 assignees View on GitHub
HELM Priority: High Severity: High
Dominant language
C++
Stars
406
Forks
134
Avg merge
2d 11h
Merged PRs (30d)
24

Description

**Steps to Reproduce**
1. Go to Macromolecules mode - Flex mode
2. Load from HELM: `RNA1{[xxx]}$$$$V2.0`
![Image](https://github.com/user-attachments/assets/bf9dd3fe-af81-49bb-8bb4-1bad47ab88f4)

**Actual behavior**
System throws exception: `Convert error! Given string could not be loaded as (query or plain) molecule or reaction, see the error messages: 'SMILES loader: 'x' specifier is allowed only for query molecules'`
![Image](https://github.com/user-attachments/assets/2921eb3b-b1d4-4272-9614-964e0e12699a)

**Expected behavior**
System throws exception: `xxx was not recognized as a valid SMILES string`
![Image](https://github.com/user-attachments/assets/3c461430-60c9-48af-8054-4a6471d549dd)

**Versions**
- Ketcher Version 3.2.0-rc.4 Build at 2025-03-25; 16:50:39
- Indigo Version 1.30.0-rc.4.0-g552c98211-wasm32-wasm-clang-19.0.0
- Chrome Version 134.0.6998.178 (Official Build) (64-bit)
- Win10

Issue found while testing - https://github.com/epam/Indigo/issues/1188

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.