aslprep.cli.workflow module

The workflow builder factory method.

All the checks and the construction of the workflow are done inside this function that has pickleable inputs and output dictionary (retval) to allow isolation using a multiprocessing.Process that allows aslprep to enforce a hard-limited memory-scope.

build_boilerplate(config_file, workflow)[source]

Write boilerplate in an isolated process.

build_workflow(config_file, retval)[source]

Create the Nipype Workflow that supports the whole execution graph.