Re: [Rdkit-discuss] transparency when highlighting atoms with defined colors

2018-12-21 Thread Jose Manuel Gally
Hi Max, thanks for your reply. The result you provided is exactly what I was looking for. However, I think it has more to do with the color of the highlight than any different setting of the transparency parameter in the underlying methods. (which is a good thing!) I was just focusing so

Re: [Rdkit-discuss] transparency when highlighting atoms with defined colors

2018-12-20 Thread Max Pinheiro Jr
Hi Jose, Have you tried to use the "DrawMolecules" from the "rdMolDraw2D.MolDraw2DSVG" class? I think this class has some other options that allow one to change the highlight colors while still keeping the alpha transparency. I did a test here with your code and it seems to provide the result you

[Rdkit-discuss] transparency when highlighting atoms with defined colors

2018-12-20 Thread Jose Manuel Gally
Hi all, I am trying to highlight substructures found in a set of molecules. However, if I use a specific color in Draw.MolsToGridImage by defining the highlightAtomColors parameter, I lose the transparency effect, so some atoms can be hidden by the highlight. Is there a way to set the