def _load(self): for name in os.listdir(self.folder): if name.find(self.filter) >= 0: if name.endswith('.gz'): content = readFileGz(self.folder, name) else: content = readFile(self.folder, name) if not self._parseMpiStdoutFile(content,name): self.stdout[name]= content
def getState(self): stateStr = readFile( self.folder, 'jobState' ) if stateStr is not None: return stateStr.splitlines() else: return None