def lookup(self, name):
        if name not in self.cache or DEBUG:
            for path in self.path:
                fpath = os.path.join(path, name)
                if os.path.isfile(fpath):
                    if self.cachemode in ('all', 'found'):
                        self.cache[name] = fpath
                    return fpath
            if self.cachemode == 'all':
                self.cache[name] = None
        return self.cache[name]
Generate an execution script using a output recipe for the given node.
dataset/ETHPy150Open adampresley/bottlepy-bootstrap/app/bottle.py/ResourceManager.lookup--crossover with--dataset/ETHPy150Open andrew-gardner/dependsworkflow/depends/depends_main_window.py/MainWindow.dagExecuteNode