epam / epam/Indigo

CIP labels are always rendered from cdxml

Open
#2,900 1 comment 0 reactions 0 assignees View on GitHub
Priority: High Severity: High User`s Feedback
Dominant language
C++
Stars
406
Forks
134
Avg merge
2d 11h
Merged PRs (30d)
24

Description

**Summary**
CIP labels are always rendered from cdxml, even when they are set not to display

**Steps to Reproduce**
1. indigo-depict.exe cip_labels.cdx cip_labels.svg

**Actual behavior**
All CIP labels are displayed, when only the labels on the first molecule have been explicitly set to be displayed.
![Image](https://github.com/user-attachments/assets/d1666ff0-74ec-4637-a997-80e6ad480b8f)

**Expected behavior**
The CIP labels on the first molecule should be displayed, while the labels of the second molecule should be hidden.
![Image](https://github.com/user-attachments/assets/ea8b04c1-f751-4c67-9cd1-7a25d8127d09)

**Environment details:**
- windows 11
- indigo [098fd1d](https://github.com/epam/Indigo/commit/098fd1d3567a82343d89e3fab4c19f35227d0cc7)

**Attachments**
[cip_labels.cdx.txt](https://github.com/user-attachments/files/20158003/cip_labels.cdx.txt)

**Additional context**
We need to parse the ShowAtomStereo="yes" from the cdxml file. The default for this option should be "no".

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.