Hi everyone,

Is it possible to draw a structure from a SMARTS that contain generic label?

The following is a valid SMARTS for a structure with an undefined
heteroatom [N,O,P,S] and an undefined halogen [F,Cl,Br,I]:


[image: Inline images 1]

For some reason the rdkit function Draw.MolToImage(mol) only peaks the
first atom from the list of heteroatoms or from the list of halogens and

[image: Inline images 2]

I would be even happier if I could get a structure image with  “X” for
halogen and “Q” for heteroatoms:

[image: Inline images 3]


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

Reply via email to