For some reason I do not get a plot of H2 with the following code:

    mole = Chem.MolFromSmiles('[H][H]')
    AllChem.Compute2DCoords(mole)
    Draw.MolToFile(mole,name,size=(300,300))

I only get a white square in output, whereas other molecules such as

    mole = Chem.MolFromSmiles('[N][CH][OH]')

plot with no trouble.

I am running on MacOsX

Any reason for this?

Thank you!
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to