ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CRAB/python/Reporter.py
(Generate patch)

Comparing COMP/CRAB/python/Reporter.py (file contents):
Revision 1.2 by slacapra, Fri Jan 23 11:43:22 2009 UTC vs.
Revision 1.3 by slacapra, Wed Mar 4 13:03:24 2009 UTC

# Line 38 | Line 38 | class Reporter(Actor):
38                              'Undefined',
39                              'Submitting',
40                              'Submitted',
41 +                            'NotSubmitted',
42                              'Waiting',
43                              'Ready',
44                              'Scheduled',
# Line 56 | Line 57 | class Reporter(Actor):
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
# Line 74 | Line 75 | class Reporter(Actor):
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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines