Describe the bug
Using Chem.ReplaceCore() to obtain fragments with the attachment points labelled by the index of the core. However, while indices of fragments are labelled correctly for eg. [1*]CC if it was originally attached to the 1-index atom on the core, it returns *CC instead of [0*]CC if the fragment was attached originally to the 0-index core atom.
Describe the bug Using
Chem.ReplaceCore()
to obtain fragments with the attachment points labelled by the index of the core. However, while indices of fragments are labelled correctly for eg.[1*]CC
if it was originally attached to the 1-index atom on the core, it returns*CC
instead of[0*]CC
if the fragment was attached originally to the 0-index core atom.To Reproduce
The output ended up as
Expected behavior What I had expected from the output.
Configuration (please complete the following information):