epam / epam/Indigo

System should throw an error in case of percent value defined for base not included to ambiguous monomer

Open
#2,329 0 comments 0 reactions 0 assignees View on GitHub
IDT Priority: Medium Test Automation affected
Dominant language
C++
Stars
406
Forks
134
Avg merge
2d 11h
Merged PRs (30d)
24

Description

**Steps to Reproduce**
1. Toggle to Macro - Flex mode
2. Load IDT from paste from clipboard way: `(Y:00333334)`
![image](https://github.com/user-attachments/assets/efb75421-2c41-4127-8a9f-bbf6f4b445e9)

**Actual behavior**
System loads ambiguous monomer
![image](https://github.com/user-attachments/assets/c7be5a25-1a7b-4cf6-92a6-e1d3f543c2c2)

**Expected behavior**
System should throw an error: Percentages should be defined only for C and T components (but here it is defined for G component)

**Versions**
- Ketcher Version 2.25.0-rc.1 Build at 2024-09-03; 15:31:03
- Indigo Toolkit Version 1.24.0-rc.1.0-gb8f099851-wasm32-wasm-clang-19.0.0
- Chrome Version 128.0.6613.114 (Official Build) (64-bit)
- Win10

Reference issues: https://github.com/epam/Indigo/issues/1619

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.