Warning: This document is for an old version of smriprep. The main version is master.

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 a multiprocessing.Process that allows smriprep to enforce a hard-limited memory-scope.

smriprep.cli.run.check_deps(workflow)[source]

Make sure all dependencies are installed.

smriprep.cli.run.get_parser()[source]

Build parser object.

smriprep.cli.run.main()[source]

Set an entrypoint.