epam / epam/Indigo

Issue in CDX → SMILES Conversion Using Indigo.NET (v1.30.1)

Open
#3,364 4 comments 0 reactions 0 assignees View on GitHub
User`s Feedback
Dominant language
C++
Stars
406
Forks
134
Avg merge
2d 11h
Merged PRs (30d)
24

Description

We have been using the Indigo.NET library (v1.5.0) in our production workflows for some time. In that version, the iterateCDXFile(filepath) method was working as expected and generated correct SMILES for structures stored in CDX files.
After upgrading to the latest Indigo.NET version (v1.30.1), we are seeing incorrect SMILES being generated for the same CDX files, using the same code path.

Please see the attached structure in CDX file that reproduces the issue.
For example, for the following structure in a CDX file:
SMILES previously generated (v1.5.0): NC(C)C(=O)O (correct)
SMILES currently generated (latest version):
N*(*)C(=O)O |$;CH;CH3;;;$|
The new SMILES output appears chemically incorrect and seems to include placeholder atoms / attachment points instead of the expected explicit atoms.
We are using the following approach in C#:
foreach (IndigoObject obj in indigo.iterateCDXFile(cdxPath))
{

string smiles = obj.smiles();
// processing...

}
Could you please advise on:
Any recommended workaround or settings to restore the previous behavior.

Image

Thank you for your support.

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.