Skip to content

Commit

Permalink
Merge pull request #1207 from nipreps/fix/dwi-pipeline-hmc-input
Browse files Browse the repository at this point in the history
FIX: Missing conection to head-motion estimation node in DWI workflow
  • Loading branch information
oesteban committed Mar 20, 2024
2 parents 1ad39fc + 17910cc commit 907fc1c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mriqc/workflows/diffusion/base.py
Expand Up @@ -214,10 +214,11 @@ def dmri_qc_workflow(name='dwiMRIQC'):
(dwi_reference_wf, ema, [('outputnode.ref_file', 'inputnode.epi_mean')]),
(dmri_bmsk, drift, [('outputnode.out_mask', 'brainmask_file')]),
(dmri_bmsk, ema, [('outputnode.out_mask', 'inputnode.epi_mask')]),
(drift, hmcwf, [('out_full_file', 'inputnode.reference')]),
(drift, hmcwf, [('out_full_file', 'inputnode.in_file')]),
(drift, averages, [('out_full_file', 'in_file')]),
(drift, stddev, [('out_full_file', 'in_file')]),
(shells, averages, [('b_masks', 'in_weights')]),
(averages, hmcwf, [(('out_file', _first), 'inputnode.reference')]),
(shells, stddev, [('b_masks', 'in_weights')]),
(shells, dti_filter, [('out_data', 'bvals')]),
(meta, dti_filter, [('out_bvec_file', 'bvec_file')]),
Expand Down

0 comments on commit 907fc1c

Please sign in to comment.