本文整理汇总了Python中WMCore.WMSpec.StdSpecs.DataProcessing.DataProcessing.getWorkloadArguments方法的典型用法代码示例。如果您正苦于以下问题:Python DataProcessing.getWorkloadArguments方法的具体用法?Python DataProcessing.getWorkloadArguments怎么用?Python DataProcessing.getWorkloadArguments使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类WMCore.WMSpec.StdSpecs.DataProcessing.DataProcessing
的用法示例。
在下文中一共展示了DataProcessing.getWorkloadArguments方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: getWorkloadArguments
# 需要导入模块: from WMCore.WMSpec.StdSpecs.DataProcessing import DataProcessing [as 别名]
# 或者: from WMCore.WMSpec.StdSpecs.DataProcessing.DataProcessing import getWorkloadArguments [as 别名]
def getWorkloadArguments():
baseArgs = DataProcessing.getWorkloadArguments()
specArgs = {"RequestType": {"default": "MonteCarloFromGEN", "optional": True,
"attr": "requestType"},
"PrimaryDataset": {"default": None, "type": str,
"optional": True, "validate": primdataset,
"attr": "inputPrimaryDataset", "null": True},
"ConfigCacheUrl": {"default": None, "type": str,
"optional": True, "validate": None,
"attr": "configCacheUrl", "null": False},
"ConfigCacheID": {"default": None, "type": str,
"optional": False, "validate": None,
"attr": "configCacheID", "null": True},
"MCPileup": {"default": None, "type": str,
"optional": True, "validate": dataset,
"attr": "mcPileup", "null": True},
"DataPileup": {"default": None, "type": str,
"optional": True, "validate": dataset,
"attr": "dataPileup", "null": True},
"DeterministicPileup": {"default": False, "type": strToBool,
"optional": True, "validate": None,
"attr": "deterministicPileup", "null": False}}
baseArgs.update(specArgs)
DataProcessing.setDefaultArgumentsProperty(baseArgs)
return baseArgs
示例2: getWorkloadArguments
# 需要导入模块: from WMCore.WMSpec.StdSpecs.DataProcessing import DataProcessing [as 别名]
# 或者: from WMCore.WMSpec.StdSpecs.DataProcessing.DataProcessing import getWorkloadArguments [as 别名]
def getWorkloadArguments():
baseArgs = DataProcessing.getWorkloadArguments()
specArgs = {"RequestType" : {"default" : "ReDigi", "optional" : True,
"attr" : "requestType"},
"StepOneOutputModuleName" : {"default" : None, "type" : str,
"optional" : True, "validate" : None,
"attr" : "stepOneOutputModuleName", "null" : True},
"StepTwoOutputModuleName" : {"default" : None, "type" : str,
"optional" : True, "validate" : None,
"attr" : "stepTwoOutputModuleName", "null" : True},
"ConfigCacheID": {"default" : None, "optional": True, "null": True},
"StepOneConfigCacheID" : {"default" : None, "type" : str,
"optional" : False, "validate" : None,
"attr" : "stepOneConfigCacheID", "null" : True},
"StepTwoConfigCacheID" : {"default" : None, "type" : str,
"optional" : True, "validate" : None,
"attr" : "stepTwoConfigCacheID", "null" : True},
"StepThreeConfigCacheID" : {"default" : None, "type" : str,
"optional" : True, "validate" : None,
"attr" : "stepThreeConfigCacheID", "null" : True},
"KeepStepOneOutput" : {"default" : True, "type" : strToBool,
"optional" : True, "validate" : None,
"attr" : "keepStepOneOutput", "null" : False},
"KeepStepTwoOutput" : {"default" : True, "type" : strToBool,
"optional" : True, "validate" : None,
"attr" : "keepStepTwoOutput", "null" : False},
"StepTwoTimePerEvent" : {"default" : 1, "type" : float,
"optional" : True, "validate" : lambda x : x > 0,
"attr" : "stepTwoTimePerEvent", "null" : False},
"StepThreeTimePerEvent" : {"default" : 1, "type" : float,
"optional" : True, "validate" : lambda x : x > 0,
"attr" : "stepThreeTimePerEvent", "null" : False},
"StepTwoSizePerEvent" : {"default" : None, "type" : float,
"optional" : True, "validate" : lambda x : x > 0,
"attr" : "stepTwoSizePerEvent", "null" : True},
"StepThreeSizePerEvent" : {"default" : None, "type" : float,
"optional" : True, "validate" : lambda x : x > 0,
"attr" : "stepThreeSizePerEvent", "null" : True},
"StepTwoMemory" : {"default" : None, "type" : float,
"optional" : True, "validate" : lambda x : x > 0,
"attr" : "stepTwoMemory", "null" : True},
"StepThreeMemory" : {"default" : None, "type" : float,
"optional" : True, "validate" : lambda x : x > 0,
"attr" : "stepThreeMemory", "null" : True},
"MCPileup" : {"default" : None, "type" : str,
"optional" : True, "validate" : dataset,
"attr" : "mcPileup", "null" : True},
"DataPileup" : {"default" : None, "type" : str,
"optional" : True, "validate" : dataset,
"attr" : "dataPileup", "null" : True},
"DeterministicPileup" : {"default" : False, "type" : strToBool,
"optional" : True, "validate" : None,
"attr" : "deterministicPileup", "null" : False}}
baseArgs.update(specArgs)
DataProcessing.setDefaultArgumentsProperty(baseArgs)
return baseArgs
示例3: getWorkloadArguments
# 需要导入模块: from WMCore.WMSpec.StdSpecs.DataProcessing import DataProcessing [as 别名]
# 或者: from WMCore.WMSpec.StdSpecs.DataProcessing.DataProcessing import getWorkloadArguments [as 别名]
def getWorkloadArguments():
baseArgs = DataProcessing.getWorkloadArguments()
specArgs = {"PrimaryDataset" : {"default" : None, "type" : str,
"optional" : True, "validate" : primdataset,
"attr" : "inputPrimaryDataset", "null" : False},
"ConfigCacheID" : {"default" : None, "type" : str,
"optional" : False, "validate" : None,
"attr" : "configCacheID", "null" : False}}
baseArgs.update(specArgs)
return baseArgs
示例4: getWorkloadArguments
# 需要导入模块: from WMCore.WMSpec.StdSpecs.DataProcessing import DataProcessing [as 别名]
# 或者: from WMCore.WMSpec.StdSpecs.DataProcessing.DataProcessing import getWorkloadArguments [as 别名]
def getWorkloadArguments():
baseArgs = DataProcessing.getWorkloadArguments()
specArgs = {"TransientOutputModules" : {"default" : [], "type" : makeList,
"optional" : True, "validate" : None,
"attr" : "transientModules", "null" : False},
"ConfigCacheID" : {"default" : None, "type" : str,
"optional" : False, "validate" : None,
"attr" : "configCacheID", "null" : False}}
baseArgs.update(specArgs)
return baseArgs