Re: [Rdkit-discuss] Generating images

2021-07-23 Thread Paolo Tosco
Hi Francesca, that molecule has been depicted using its existing 3D coordinates. That's because you only compute 2D coordinates if the molecules does not have any: if not mc.GetNumConformers(): rdDepictor.Compute2DCoords(mc) If the molecule already has a 3D conformation, those

[Rdkit-discuss] Generating images

2021-07-23 Thread Francesca Magarotto - francesca.magarot...@studio.unibo.it
Hi, I've got some problems generating the correct images of the molecules. I'm new to Python and RDKit, so maybe I did something wrong. Could someone help me and correct the code? I've got a cluster of five compounds and I want to display them, but with Draw.MolsToGridImage(mols) I didn't obtain