当前位置: 首页>>代码示例>>Python>>正文


Python DataProcessing.getWorkloadArguments方法代码示例

本文整理汇总了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
开发者ID:,项目名称:,代码行数:27,代码来源:

示例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
开发者ID:BrunoCoimbra,项目名称:WMCore,代码行数:58,代码来源:ReDigi.py

示例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
开发者ID:franzoni,项目名称:WMCore,代码行数:12,代码来源:MonteCarloFromGEN.py

示例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
开发者ID:AndrewLevin,项目名称:WMCore,代码行数:13,代码来源:ReReco.py


注:本文中的WMCore.WMSpec.StdSpecs.DataProcessing.DataProcessing.getWorkloadArguments方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。