smriprep.cli.run module
sMRIPrep: Structural MRI PREProcessing workflow.
- smriprep.cli.run.build_opts(opts)[source]
Trigger a new process that builds the workflow graph, based on the input options.
- smriprep.cli.run.build_workflow(opts, retval)[source]
Create the Nipype Workflow that supports the whole execution graph, given the inputs.
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 amultiprocessing.Process
that allows smriprep to enforce a hard-limited memory-scope.