toil.test.src.userDefinedJobArgTypeTest¶
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¶
|
|
|
Module Contents¶
- class toil.test.src.userDefinedJobArgTypeTest.UserDefinedJobArgTypeTest(methodName='runTest')[source]¶
Bases:
toil.test.ToilTestTest 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:
toil.job.JobClass represents a unit of work in toil.
- level¶
- foo¶
- 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().