Thank you, I was looking for more readable images: for example in OpenBabel
"the default is to draw all hetero atoms and terminal C explicitly,
together with their attched hydrogens."
Basically I'm approaching rdkit right now, so I was wondering if there was
something wrong in my approach. "Not available" is quite an answer, but
this leads me to new questions:

1) What is the "official" way to pass drawing options?
2) Where can I find an updated doc about the available drawing options? (
https://www.rdkit.org/docs/source/rdkit.Chem.Draw.MolDrawing.html this
apparently is outdated, since the "noCarbonSymbol" is still there)

It's just that when the doc it's outdated it can be frustrating: I spent
hours trying to understand what I was doing wrong.
For example: let's say I want all atoms and bonds black. I found a snippet
in your cookbook that requires importing ipython for that: is it really
necessary?
Thank you

Il giorno gio 4 mar 2021 alle ore 06:52 Greg Landrum <greg.land...@gmail.com>
ha scritto:

> Hi Thomas,
>
> noCarbonSymbols was an option for the old drawing code and is not
> currently available in the new drawing code since it didn't seem to be
> particularly useful.
>
> We can maybe provide suggestions if you provide an example image that
> you're getting and explain what you'd like to change about it.
>
> Best,
> -greg
>
>
> On Tue, Mar 2, 2021 at 8:49 PM Thomas <odioidenti...@gmail.com> wrote:
>
>> Hi everybody,
>>  I'm very new to rdkit, can anybody explain to me how to set drawing
>> options?
>> I wanted to do something easy like:
>>
>> MolToImage(mol, noCarbonSymbol=False)
>>
>> but apparently it is not the right way. Following some recipes i tried
>> also with:
>>
>> drawer = rdMolDraw2D.MolDraw2DCairo(100, 100)
>> drawer.drawOptions().noCarbonSymbols = False
>>
>> but again no luck. I tried also to modify the MolDrawOptions object
>>
>> options = drawer.drawOptions()
>>
>> but there is nothing about "noCarbonSymbol"...
>>
>> Can anybody address me on the right path? Much appreciated
>> Thomas
>> _______________________________________________
>> Rdkit-discuss mailing list
>> Rdkit-discuss@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/rdkit-discuss
>>
>
_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to