Check in T0 task DB if T0 processing is done, if not raise PostponeProcessing exception.
Definition at line 305 of file BeamSpotPostProcessing.py.
◆ run()
def python.BeamSpotPostProcessing.CheckT0Status.run |
( |
|
self | ) |
|
Definition at line 307 of file BeamSpotPostProcessing.py.
310 f = self.getJobConfig(self.jobName)[
'inputfiles'][0]
314 self.log(
'WARNING: Unable to determine input file type - will assume default (%s)\n' % filter, doPrint=
True)
315 cmd =
'beamspotman.py -n -f %s queryT0 %s %s' % (filter,self.dsName,self.taskName)
316 status = self.logExec(cmd,doPrint=
True,abortOnError=
False)
321 raise PostponeProcessing(
'Tier-0 processing still in progress - restart postprocessing later',self.executedSteps)
324 raise PostProcessingError(
'ERROR: Unable to determine Tier-0 task status',self.executedSteps)
The documentation for this class was generated from the following file: