本文整理汇总了Python中toil.job.Job.__init__方法的典型用法代码示例。如果您正苦于以下问题:Python Job.__init__方法的具体用法?Python Job.__init__怎么用?Python Job.__init__使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类toil.job.Job
的用法示例。
在下文中一共展示了Job.__init__方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: __init__
# 需要导入模块: from toil.job import Job [as 别名]
# 或者: from toil.job.Job import __init__ [as 别名]
def __init__(self, tree, event, sleepTime, startTime, cpu):
Job.__init__(self, cpu=cpu)
self.tree = tree
self.event = event
self.sleepTime = sleepTime
self.startTime = startTime
self.cpu = cpu
示例2: __init__
# 需要导入模块: from toil.job import Job [as 别名]
# 或者: from toil.job.Job import __init__ [as 别名]
def __init__(self, tree, event, sleepTime, startTime, cores):
Job.__init__(self, cores=cores)
self.tree = tree
self.event = event
self.sleepTime = sleepTime
self.startTime = startTime
self.cores = cores
示例3: __init__
# 需要导入模块: from toil.job import Job [as 别名]
# 或者: from toil.job.Job import __init__ [as 别名]
def __init__(self,i):
Job.__init__(self, memory=200000, cores=0.01)
self.i = i
示例4: __init__
# 需要导入模块: from toil.job import Job [as 别名]
# 或者: from toil.job.Job import __init__ [as 别名]
def __init__(self,fileId):
Job.__init__(self)
self.fileId=fileId
示例5: __init__
# 需要导入模块: from toil.job import Job [as 别名]
# 或者: from toil.job.Job import __init__ [as 别名]
def __init__(self, level, foo):
Job.__init__(self, memory=100000, cores=2, disk="300M")
self.level = level
self.foo = foo
示例6: __init__
# 需要导入模块: from toil.job import Job [as 别名]
# 或者: from toil.job.Job import __init__ [as 别名]
def __init__(self, cwlwf, cwljob, basedir):
Job.__init__(self)
self.cwlwf = cwlwf
self.cwljob = cwljob
self.basedir = basedir
示例7: __init__
# 需要导入模块: from toil.job import Job [as 别名]
# 或者: from toil.job.Job import __init__ [as 别名]
def __init__(self, inputFileID, failFileID):
Job.__init__(self, memory=100000, cores=1, disk="1M")
self.inputFileID = inputFileID
self.failFileID = failFileID
示例8: __init__
# 需要导入模块: from toil.job import Job [as 别名]
# 或者: from toil.job.Job import __init__ [as 别名]
def __init__(self, step, cwljob):
Job.__init__(self)
self.step = step
self.cwljob = cwljob
self.valueFrom = {shortname(i["id"]): i["valueFrom"] for i in step.tool["inputs"] if "valueFrom" in i}