38 |
|
'Undefined', |
39 |
|
'Submitting', |
40 |
|
'Submitted', |
41 |
+ |
'NotSubmitted', |
42 |
|
'Waiting', |
43 |
|
'Ready', |
44 |
|
'Scheduled', |
57 |
|
filesRead=0 |
58 |
|
filesRequired=0 |
59 |
|
for job in task.getJobs(): |
60 |
< |
#print job |
60 |
> |
if (job.runningJob['applicationReturnCode']>0 or job.runningJob['wrapperReturnCode']>0): continue |
61 |
|
# get FJR filename |
62 |
|
fjr=task['outputDirectory']+job['outputFiles'][-1] |
63 |
|
#print fjr |
75 |
|
|
76 |
|
#print jobReport[0].inputFiles,'\n' |
77 |
|
else: |
78 |
< |
print 'no FJR avaialble for job #%s'%job['jobId'] |
78 |
> |
pass |
79 |
> |
#print 'no FJR avaialble for job #%s'%job['jobId'] |
80 |
|
#print "--------------------------" |
81 |
|
print "Total Events read: ",eventsRead," required: ",eventsRequired |
82 |
|
print "Total Files read: ",filesRead," required: ",filesRequired |