Greg - Thank you. Also a couple of related questions (that might have an analogous answer):
(1) is there a way to change the resolution of the PNG images produced by Draw.MolToImage(mol)? The resulting images look low-res and pretty jagged on my screen. I can change the size, but I couldn't find anything in the API for the resolution. (2) For the SVG rendering, is there perhaps a way to change the with (weight) of the stroke? For smaller images, the default bond width looks somewhat heavy. These are not real problems, of course. SVG rendering works great, and that's what I'm using in the notebook. But maybe there is a way to do these things that I missed. Thanks! Best, Dmitri > On Jul 15, 2016, at 5:46 AM, Greg Landrum <[email protected]> wrote: > > > > On Fri, Jul 15, 2016 at 12:28 AM, DmitriR <[email protected]> wrote: > > I attempted to set a highlight color in Draw.MolsToGridImage(), thinking > that, by analogy with MolToImage(), it should be possible to pass the > highlightColor=... parameter; but it does not seem to work. > > <snip> > Red (the default) is fine enough highlight color, so if this is the intended > behavior, this is not a real problem. But it feels a bit non-orthogonal. Or > perhaps I'm just not doing it correctly? > > I think your expectations are completely reasonable, but the code just isn't > in place to do that (yet). > Here's the github item with the enhancement request: > https://github.com/rdkit/rdkit/issues/974 > > -greg > ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports.http://sdm.link/zohodev2dev _______________________________________________ Rdkit-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

