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