Hello,

I’m trying to use Chem.RenumberAtoms to reassign all of the atom indices of
a molecule. But, when I do it and check the molecule, it still retains the
same indices as the molecule had at the start.

For example:

I constructed a simple molecule like ethanolamine. The original indices
assigned by RDKit were:

N—C—C—O
3   2    1     0

Chem.RenumberAtoms(ethanolamine, [3,2,1,0])

So according to the documentation, that should assign the oxygen with 3
instead of 0

When I checked the symbol of atom index 0, it was oxygen again.

What am I doing wrong?

Also, I am using the latest conda build.

Thanks
_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to