Public Member Functions | |
def | __init__ |
def | createConfiguration |
def | createScript |
Definition at line 494 of file validateAlignments.py.
def validateAlignments::TrackSplittingValidation::__init__ | ( | self, | |
alignment, | |||
config | |||
) |
Reimplemented from validateAlignments::GenericValidation.
Definition at line 495 of file validateAlignments.py.
def validateAlignments::TrackSplittingValidation::createConfiguration | ( | self, | |
path | |||
) |
Definition at line 498 of file validateAlignments.py.
00499 : 00500 cfgName = "TkAlTrackSplitting.%s_cfg.py"%( self.alignmentToValidate.name ) 00501 repMap = GenericValidation.getRepMap(self) 00502 repMap.update({ 00503 "APE": configTemplates.APETemplate, 00504 "outputFile": replaceByMap( ".oO[workdir]Oo./TrackSplitting_.oO[name]Oo..root", repMap ) 00505 }) 00506 repMap["outputFile"] = os.path.expandvars( repMap["outputFile"] ) 00507 repMap["outputFile"] = os.path.abspath( repMap["outputFile"] ) 00508 cfgs = {cfgName:replaceByMap( configTemplates.TrackSplittingTemplate, repMap)} 00509 self.filesToCompare[ GenericValidation.defaultReferenceName ] = repMap["outputFile"] 00510 GenericValidation.createConfiguration(self, cfgs, path)
def validateAlignments::TrackSplittingValidation::createScript | ( | self, | |
path | |||
) |
Definition at line 511 of file validateAlignments.py.
00512 : 00513 scriptName = "TkAlTrackSplitting.%s.sh"%( self.alignmentToValidate.name ) 00514 repMap = GenericValidation.getRepMap(self) 00515 repMap["CommandLine"]="" 00516 for cfg in self.configFiles: 00517 repMap["CommandLine"]+= repMap["CommandLineTemplate"]%{"cfgFile":cfg, 00518 "postProcess":"" 00519 } 00520 00521 scripts = {scriptName: replaceByMap( configTemplates.scriptTemplate, repMap ) } 00522 return GenericValidation.createScript(self, scripts, path)