toil.test.src.userDefinedJobArgTypeTest
¶
Module Contents¶
Classes¶
Test for issue #423 (Toil can't unpickle classes defined in user scripts) and variants |
|
Class represents a unit of work in toil. |
|
Functions¶
|
|
|
- class toil.test.src.userDefinedJobArgTypeTest.UserDefinedJobArgTypeTest(methodName='runTest')[source]¶
Bases:
digraph inheritancec515da4f23 { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "TestCase" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",tooltip="A class whose instances are single test cases."]; "ToilTest" [URL="../../index.html#toil.test.ToilTest",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="A common base class for Toil tests."]; "TestCase" -> "ToilTest" [arrowsize=0.5,style="setlinewidth(0.5)"]; "UserDefinedJobArgTypeTest" [URL="#toil.test.src.userDefinedJobArgTypeTest.UserDefinedJobArgTypeTest",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="Test for issue #423 (Toil can't unpickle classes defined in user scripts) and variants"]; "ToilTest" -> "UserDefinedJobArgTypeTest" [arrowsize=0.5,style="setlinewidth(0.5)"]; }toil.test.ToilTest
Test for issue #423 (Toil can’t unpickle classes defined in user scripts) and variants thereof.
- class toil.test.src.userDefinedJobArgTypeTest.JobClass(level, foo)[source]¶
Bases:
digraph inheritancea729ac15ea { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "Job" [URL="../../../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."]; "JobClass" [URL="#toil.test.src.userDefinedJobArgTypeTest.JobClass",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" -> "JobClass" [arrowsize=0.5,style="setlinewidth(0.5)"]; }toil.job.Job
Class represents a unit of work in toil.
- run(fileStore)[source]¶
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()
.