Hi all,
I've just come across this behaviour in RDKit regarding SMARTS parsing:
The following SMARTS works fine:
[#0].[#0]
>>> from rdkit import Chem
>>> Chem.MolFromSmarts("[#0].[#0]")
<rdkit.Chem.rdchem.Mol object at 0x9e228a0>
But the same SMARTS in a recursive SMARTS doesn't work:
>>> Chem.MolFromSmarts("[$([#0].[#0])]")
[15:26:45] SMARTS Parse Error: syntax error for input: [$([#0].[#0])]
Are component SMARTS in a recursive SMARTS supported in RDKit ? Does anyone
know how I construct a SMARTS like that for RDKit ?
Thanks
Jameed
________________________________
This e-mail was sent by GlaxoSmithKline Services Unlimited
(registered in England and Wales No. 1047315), which is a
member of the GlaxoSmithKline group of companies. The
registered address of GlaxoSmithKline Services Unlimited
is 980 Great West Road, Brentford, Middlesex TW8 9GS.
------------------------------------------------------------------------------
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612
_______________________________________________
Rdkit-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss