Source code for toil.test.provisioners.restartScript
import os
from configargparse import ArgumentParser
from toil.job import Job
if __name__ == '__main__':
parser = ArgumentParser()
Job.Runner.addToilOptions(parser)
options = parser.parse_args()
rootJob = Job.wrapJobFn(f0, cores=0.5, memory='50 M', disk='50 M')
Job.Runner.startToil(rootJob, options)