Exemple #1
0
 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
Exemple #2
0
 def getState(self):
     stateStr = readFile( self.folder, 'jobState' )
     if stateStr is not None:
         return stateStr.splitlines()
     else: return None