CountStereocenters does not include non-resolved stereocenters
- Dominant language
- C++
- Stars
- 406
- Forks
- 134
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 24
Description
**Steps to Reproduce**
Simple Winforms application written in C#
`IndigoObject mol = indigo.loadMolecule("ClC(Br)CC");
int nstereo = mol.countStereocenters();
Console.WriteLine("Stereo = " + nstereo);`
**Expected behavior**
Would expect the unresolved chiral centre to be counted (Stereo = 1)
**Actual behavior**
Result is: Stereo = 0
**Indigo version**
Indigo 1.12.0
**Additional context**
This has been the behaviour since the earliest versions of Indigo. Chrial centers are only counted if they have a wedge or hash bond (or SMILES @/@@). If backward compatibility is required, perhaps a new method could be introduced? E.g. mol.countChiralCenters()
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.