On Saturday, December 29, 2012, Huw Jones wrote:

> >>> from rdkit import Chem
> >>> from rdkit.Chem import Draw
> >>> mol = Chem.MolFromSmiles("C")
> >>> Draw.MolToImageFile(mol,"C:\\test.png")
>
> Appears blank? "CC" works fine, "N" works fine.
>
> Did I miss a setting or function? Tested with and without cairo - seems
> unaffected.
>

Sounds like a bug: only heteroatoms are drawn correctly when they aren't
connected to anything else. I will fix it for the next release.

-greg


> rdkit Release_2012.09.1
>
> Kind regards
>
> Huw
>
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912
_______________________________________________
Rdkit-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to