qsirecon.workflows.recon.build_workflow module

This module contains the functions that build the nipype workflows from the workflow specs.

qsirecon.workflows.recon.build_workflow.init_dwi_recon_workflow(workflow_spec, inputs_dict, name='recon_wf')[source]

Convert a workflow spec into a nipype workflow.

Parameters:
  • workflow_spec (dict) – A dictionary that describes the workflow to be built.

  • inputs_dict (dict) – A dictionary of inputs to the workflow. Keys include “dwi_file” (path to the DWI file), “dwi_metadata” (metadata for the DWI file), and the keys from the status output of init_dwi_recon_anatomical_workflow().

qsirecon.workflows.recon.build_workflow.workflow_from_spec(inputs_dict, node_spec)[source]

Build a nipype workflow based on a json file.