Re: [Rdkit-discuss] H atoms at ring junction

2023-06-08 Thread Jean-Marc Nuzillard
Thanks again! Jean-Marc Le 08/06/2023 à 10:31, Paolo Tosco a écrit : Dear Jean-Marc, I wrote my email in an iPad, and probably attaching the image failed somehow. You may save the SVG image to a file as follows; it is a plain text XML string: svg_image = drawer.GetDrawingText() with

Re: [Rdkit-discuss] H atoms at ring junction

2023-06-08 Thread Paolo Tosco
Dear Jean-Marc,I wrote my email in an iPad, and probably attaching the image failed somehow.You may save the SVG image to a file as follows; it is a plain text XML string:svg_image = drawer.GetDrawingText()with open(“ h_atoms_at_ring_jn.svg”, “w”) as hnd:    hnd.write(svg_image)Cheers,p.On 8 Jun

Re: [Rdkit-discuss] H atoms at ring junction

2023-06-08 Thread Jean-Marc Nuzillard
I guessed that for some reason the drawing did not show up in Paolo's reply to my question but I did not try to investigate further to find an explanation, since I run his code without any problem and was then able to adapt it for the creation of PNG images. How did you create file