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

Comparing COMP/CRAB/python/ScriptWriter.py (file contents):
Revision 1.22 by spiga, Mon Mar 3 20:29:45 2008 UTC vs.
Revision 1.23 by fanzago, Tue Mar 18 15:43:43 2008 UTC

# Line 13 | Line 13 | class ScriptWriter:
13          ### FEDE added modify_report FOR DBS OUTPUT PUBLICATION
14          self.actions = {
15              'title'                       : self.title_,
16 +            'untar_software'              : self.untarSoftware_,
17              'setup_scheduler_environment' : self.setupSchedulerEnvironment_,
18              'setup_jobtype_environment'   : self.setupJobTypeEnvironment_,
19              'copy_input'                  : self.copyInput_,
# Line 87 | Line 88 | class ScriptWriter:
88          txt = '# This script was generated by '+common.prog_name
89          txt += ' (version '+common.prog_version_str+').\n'
90          return txt
91 +    
92 +
93 +    ### FEDE ###
94 +    
95 +    def untarSoftware_(self):
96 +        """
97 +        Returns part of a job script which untar CMSSW software.
98 +        """
99 +        jbt = common.job_list.type()
100 +
101 +        txt = jbt.wsUntarSoftware(self.nj)
102 +
103 +        #txt += 'executable='+exe+'\n'
104 +        return txt
105 +    
106 +    ###########################################
107  
108      def setupSchedulerEnvironment_(self):
109          """

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines