Batch Queuing

heudiconv.queue.queue_conversion(pyscript, queue, studyid, queue_args=None)

Write out conversion arguments to file and submit to a job scheduler. Parses sys.argv for heudiconv arguments.

pyscript: file
path to heudiconv script
queue: string
batch scheduler to use
studyid: string
identifier for conversion
queue_args: string (optional)
additional queue arguments for job submission
proc: int
Queue submission exit code