Hi,
Unfortunately Draw.MolToFile uses the old drawing code, which doesn't
support the output of legends with the molecules.
You can get PNG or SVG data with molecule names, and then write that to a
file, but PDF output is not supported.
Best,
-greg
On Sun, Sep 16, 2018 at 4:05 PM Bakary N'tji D
Dear all
Hope you are doing well
How to draw mol object with their name.
With MolsToGridImage
Draw.MolsToGridImage([ms[0]],molsPerRow=1,subImgSize=(200,200),
legends=["test"])
The legend parameter is assigned as molecule name and is drawn.
But I'd like to use Draw.MolToFile.
Draw.MolToFile(ms[0],
2 matches
Mail list logo