Dear RDKit users,

I'm trying to plot a single molecule using RDKit. I use the following code

from rdkit.Chem import Draw
from rdkit import Chem

mol = Chem.MolFromSmiles('C1#CN2CCCCC1C2')
Chem.rdmolops.SanitizeMol(mol)
img = Draw.MolsToGridImage([mol], molsPerRow=1)
img.save(res_dir + 'mol_1.png')


and I get the attached figure. There is an alkyne bridging in the molecule,
which as you can see in the figure, is visualized with a double bond
instead of a triple bond. I was wondering what causes this issue and how to
fix it. Thanks!

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

Reply via email to