tutorial_managing
¶
Module Contents¶
Classes¶
Class represents a unit of work in toil. |
Attributes¶
- class tutorial_managing.LocalFileStoreJob(memory=None, cores=None, disk=None, accelerators=None, preemptible=None, preemptable=None, unitName='', checkpoint=False, displayName='', descriptionClass=None, local=None)¶
Bases:
digraph inheritance632999e382 { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "Job" [URL="../toil/job/index.html#toil.job.Job",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Class represents a unit of work in toil."]; "LocalFileStoreJob" [URL="#tutorial_managing.LocalFileStoreJob",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; "Job" -> "LocalFileStoreJob" [arrowsize=0.5,style="setlinewidth(0.5)"]; }toil.job.Job
Class represents a unit of work in toil.
- Parameters:
memory (Optional[ParseableIndivisibleResource]) –
cores (Optional[ParseableDivisibleResource]) –
disk (Optional[ParseableIndivisibleResource]) –
accelerators (Optional[ParseableAcceleratorRequirement]) –
preemptible (Optional[ParseableFlag]) –
preemptable (Optional[ParseableFlag]) –
unitName (Optional[str]) –
checkpoint (Optional[bool]) –
displayName (Optional[str]) –
descriptionClass (Optional[type]) –
local (Optional[bool]) –
- run(fileStore)¶
Override this function to perform work and dynamically create successor jobs.
- Parameters:
fileStore – Used to create local and globally sharable temporary files and to send log messages to the leader process.
- Returns:
The return value of the function can be passed to other jobs by means of
toil.job.Job.rv()
.