Hi Kirk,
On Fri, Apr 2, 2010 at 2:47 PM, <[email protected]> wrote:
> While updated various parts of my system, I found that the latest version of
> RDKit (Q3_2009) combined with the latest version of PIL (1.1.7) leads to
> errors when trying to execute Draw.MolToImageFile(...)
FYI: there is a Q4_2009 version.
> The error stated
> "cannot load font" and not image was generated. When I downgraded to PIL
> v1.1.6, all is fine.
>
> Nothing mission critical here, just an FYI.
Thanks for the information. Which system was this on? Did you build
PIL both times yourself or get it in binary form? The reason I ask is
that 1.1.7 works fine for me on the Mac:
[3]>>> m = Chem.MolFromSmiles('c1ncccc1')
[4]>>> Draw.MolToImageFile(m,'blah.png')
[5]>>> import Image
[6]>>> Image.VERSION
Out[6]: '1.1.7'
The "cannot load font" type errors are, I think, generally related to
freetype, so I'm a bit surprised that one version would work and the
other not.
Best regards,
-greg
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Rdkit-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss