コード例 #1
0
ファイル: validateAlignments.py プロジェクト: chavid/cmssw
 def __createJob( self, jobMode, outpath ):
     """This private method creates the needed files for the validation job.
        """
     self.validation.createConfiguration( outpath )
     self.__scripts = sum([addIndex(script, self.validation.NJobs) for script in self.validation.createScript( outpath )], [])
     if jobMode.split( ',' )[0] == "crab":
         self.validation.createCrabCfg( outpath )
     return None
コード例 #2
0
 def __createJob( self, jobMode, outpath ):
     """This private method creates the needed files for the validation job.
        """
     self.validation.createConfiguration( outpath )
     if self.preexisting:
         return
     self.scripts = sum([addIndex(script, self.validation.NJobs) for script in self.validation.createScript( outpath )], [])
     return None