Re: [Rdkit-discuss] Drawing quality image with PandasTools.FrameToGridImage

2019-03-31 Thread Greg Landrum
Taka diagnosed this correctly. Here's the issue: https://github.com/rdkit/rdkit/issues/2380 It will be fixed in the next release. Thanks for pointing it out! -greg On Fri, Mar 29, 2019 at 6:19 AM Taka Seri wrote: > Hi Diallo, > > I could reproduce it. It seems MolsToGridimage method throws er

Re: [Rdkit-discuss] Drawing quality image with PandasTools.FrameToGridImage

2019-03-28 Thread Taka Seri
Hi Diallo, I could reproduce it. It seems MolsToGridimage method throws error when the function get pandas Series and useSVG=True. I can get svg image when I converted the series to list. Like the below. df is Data frame which has rdkit mol object. from IPython.display import SVG im=Draw.MolsToG

[Rdkit-discuss] Drawing quality image with PandasTools.FrameToGridImage

2019-03-22 Thread Bakary N'tji Diallo
It is possible to draw high-quality image for a set of compounds. I am trying to use the panda tool using the FrameToGridImage function. rdkit.Chem.PandasTools.FrameToGridImage(frame, column=’ROMol’, legendsCol=None, **kwargs) But using it with the “useSVG=True” keyword is throwing an error. rdk