Public Member Functions | |
def | __init__ |
def | cert_info |
def | check_crabtask |
def | crab |
def | crab_config_filename |
def | crab_config_filepath |
def | crab_taskname |
def | create_crab_config |
def | fill_options_from_crab_config |
def | submit_crab_task |
def | voms_proxy_create |
def | voms_proxy_time_left |
def | write_crabConfig |
Public Attributes | |
crab_config | |
crabFunctions | |
Private Attributes | |
_cert_info | |
_crab | |
Definition at line 12 of file CrabHelper.py.
def CrabHelper.CrabHelper.__init__ | ( | self | ) |
Definition at line 14 of file CrabHelper.py.
def CrabHelper.CrabHelper.cert_info | ( | self | ) |
Definition at line 213 of file CrabHelper.py.
References CrabHelper.CrabHelper._cert_info, CrabHelper.CrabHelper.voms_proxy_create(), and CrabHelper.CrabHelper.voms_proxy_time_left().
def CrabHelper.CrabHelper.check_crabtask | ( | self | ) |
Definition at line 50 of file CrabHelper.py.
References CrabHelper.CrabHelper.crab_config_filepath(), DTWorkflow.DTWorkflow.get_output_files(), tools.getTerminalSize(), join(), DTWorkflow.DTWorkflow.local_path(), print(), sistrip::SpyUtilities.range(), and tools.stdinWait().
Referenced by DTWorkflow.DTWorkflow.check().
def CrabHelper.CrabHelper.crab | ( | self | ) |
Retuns a CrabController instance from cache or creates new on on first call
Definition at line 202 of file CrabHelper.py.
References CrabHelper.CrabHelper._crab.
def CrabHelper.CrabHelper.crab_config_filename | ( | self | ) |
Definition at line 224 of file CrabHelper.py.
References CrabHelper.CrabHelper.crab_taskname(), cmsswPreprocessor.CmsswPreprocessor.options, DTCalibrationWorker.DTCalibrationWorker.options, DTWorkflow.DTWorkflow.options, TestProcess.TestProcess.options, confdb.HLTProcess.options, VisualizationOptions.options(), production_tasks.Task.options, fireworks::OptionNode.options(), edmIntegrityCheck.IntegrityCheck.options, Config.Process.options, and validateAlignments.ValidationJobMultiIOV.options.
Referenced by CrabHelper.CrabHelper.crab_config_filepath(), CrabHelper.CrabHelper.fill_options_from_crab_config(), and CrabHelper.CrabHelper.write_crabConfig().
def CrabHelper.CrabHelper.crab_config_filepath | ( | self | ) |
Definition at line 230 of file CrabHelper.py.
References CrabHelper.CrabHelper.crab_config_filename(), and DTWorkflow.DTWorkflow.local_path().
Referenced by CrabHelper.CrabHelper.check_crabtask(), DTWorkflow.DTWorkflow.prepare_common_write(), DTVdriftWorkflow.DTvdriftWorkflow.prepare_meantimer_dump(), and DTVdriftWorkflow.DTvdriftWorkflow.prepare_segment_dump().
def CrabHelper.CrabHelper.crab_taskname | ( | self | ) |
Definition at line 235 of file CrabHelper.py.
References cmsswPreprocessor.CmsswPreprocessor.options, DTCalibrationWorker.DTCalibrationWorker.options, DTWorkflow.DTWorkflow.options, TestProcess.TestProcess.options, confdb.HLTProcess.options, VisualizationOptions.options(), production_tasks.Task.options, fireworks::OptionNode.options(), edmIntegrityCheck.IntegrityCheck.options, Config.Process.options, validateAlignments.ValidationJobMultiIOV.options, and str.
Referenced by CrabHelper.CrabHelper.crab_config_filename().
def CrabHelper.CrabHelper.create_crab_config | ( | self | ) |
Create a crab config object dependent on the chosen command option
Definition at line 120 of file CrabHelper.py.
Referenced by CrabHelper.CrabHelper.submit_crab_task().
def CrabHelper.CrabHelper.fill_options_from_crab_config | ( | self | ) |
Definition at line 189 of file CrabHelper.py.
References CrabHelper.CrabHelper.crab_config_filename(), cmsswPreprocessor.CmsswPreprocessor.options, DTCalibrationWorker.DTCalibrationWorker.options, DTWorkflow.DTWorkflow.options, TestProcess.TestProcess.options, confdb.HLTProcess.options, VisualizationOptions.options(), production_tasks.Task.options, fireworks::OptionNode.options(), edmIntegrityCheck.IntegrityCheck.options, Config.Process.options, validateAlignments.ValidationJobMultiIOV.options, and submitPVValidationJobs.split().
def CrabHelper.CrabHelper.submit_crab_task | ( | self | ) |
Definition at line 22 of file CrabHelper.py.
References CrabHelper.CrabHelper.create_crab_config(), and CrabHelper.CrabHelper.write_crabConfig().
Referenced by DTWorkflow.DTWorkflow.submit().
def CrabHelper.CrabHelper.voms_proxy_create | ( | self, | |
passphrase = None |
|||
) |
def CrabHelper.CrabHelper.voms_proxy_time_left | ( | self | ) |
def CrabHelper.CrabHelper.write_crabConfig | ( | self | ) |
Write crab config file in working dir with label option as name
Definition at line 177 of file CrabHelper.py.
References CrabHelper.CrabHelper.crab_config_filename(), and DTWorkflow.DTWorkflow.local_path().
Referenced by CrabHelper.CrabHelper.submit_crab_task().
|
private |
Definition at line 20 of file CrabHelper.py.
Referenced by CrabHelper.CrabHelper.cert_info().
|
private |
Definition at line 19 of file CrabHelper.py.
Referenced by CrabHelper.CrabHelper.crab().
CrabHelper.CrabHelper.crab_config |
Definition at line 123 of file CrabHelper.py.
CrabHelper.CrabHelper.crabFunctions |
Definition at line 17 of file CrabHelper.py.