Dear All,

 I'm a new to rdkit. 

I fount that the molecule 'c1ccccc1' don't fit to the smarts 

mol =  Chem.MolFromSmiles('c1ccccc1')
fap = FragmentMatcher.FragmentMatcher()
smarts = 'c1cc([#1,F,Cl,I])ccc1'
tp = fap.HasMatch(mol)

result : tp = 0

It seems that it is due to the explict H atom in smarts.

How can I make my smarts work?

Thank you for your help.


Check out the vibrant tech community on one of the world's most
engaging tech sites,!
Rdkit-discuss mailing list

Reply via email to