lyman.frontend.execute

lyman.frontend.execute(wf, args, info)[source]

Main interface for (probably) executing a nipype workflow.

Depending on the command-line and module-based parameters, different things might happen with the workflow object. See the code for details.

Parameters
wfWorkflow

Nipype workflow graph with processing steps.

argsargparse Namespace

Parsed arguments from lyman command-line interface.

infoLymanInfo

Analysis execution parameters from lyman info files.

Returns
resvariable

The result of the execution, which can take several forms. See the code to understand the relationship between input parameters and output type.