Chris Morley - 2014-07-21

When O=c1ccnc(=O)n1O is used as SMARTS (as with the commandline -s option) it matches O=c1cc[nH]c(=O)n1O. But when using fastsearch the target pattern has to be valid SMILES (because a fingerprint is made from it). O=c1ccnc(=O)n1O is not valid SMILES. (Try it on www.daylight.com/daycgi/depict.) In some cases, like Nc1nnc(n1)N, OpenBabel will helpfully interpret incorrect SMILES as a molecule and so fastsearch will work ok.