Did I find the right examples for you? yes no

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)

src/o/r/Orange-Bioinformatics-2.5.25/orangecontrib/bio/chem.py   Orange-Bioinformatics(Download)
        if fragSmiles:
            pattern=pybel.Smarts(fragSmiles)
            matches = pattern.findall(mol)
            self.ob_matched = reduce(set.union, matches if matches != False else [], set())
        else:
        if fragSmiles:
            pattern=pybel.Smarts(fragSmiles)
            matches = pattern.findall(mol)
            self.ob_matched = reduce(set.union, matches if matches != False else [], set())
        else:

src/r/m/RMG-website-HEAD/rmgweb/database/tools.py   RMG-website(Download)
                    print "Invalid SMARTS pattern", x.smarts.__str__()
                    break
                matched = smarts.findall(mol)
                x.num = len(matched)
                if (x.num > 0):
                    print "Invalid SMARTS pattern", x.smarts.__str__()
                    break
                matched = smarts.findall(mol)
                x.num = len(matched)
                if (x.num > 0):