Dear RDkiter, Using HasSubstructureMatch() I can match the following smarts “F[a]” and “c1ccccc1” with "Fc1ccccc1”. However, when I put the two fragments together in "F[a].c1ccccc1" it no longer matches. I suppose this is the desired behaviour since the any aromatic [a] from F[a] that is also part of c1ccccc1 and would be counted twice anotherwise.
Is there a function parameter in HasSubstructureMatch() that I am not aware of and that could make "F[a].c1ccccc1" match "Fc1ccccc1” without me having to separate the fragments and check the match for each part? Thanks, Alexis
_______________________________________________ Rdkit-discuss mailing list Rdkit-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rdkit-discuss