Skip to content

Commit

Permalink
Merge pull request #2609 from nipreps/fix/revise-sdc-connection
Browse files Browse the repository at this point in the history
FIX: Propagate the SDC warp to resampling node also with ME
  • Loading branch information
oesteban authored Oct 20, 2021
2 parents 3f985d6 + 8216eb1 commit a9b3502
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions fmriprep/workflows/bold/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1101,17 +1101,16 @@ def init_func_preproc_wf(bold_file, has_fieldmap=False):
(("outputnode.fieldwarp", _pop), "inputnode.fieldwarp"),
]),
(unwarp_wf, bold_final, [("outputnode.corrected", "bold")]),

(unwarp_wf, bold_t1_trans_wf, [
# TEMPORARY: For the moment we can't use frame-wise fieldmaps
(("outputnode.fieldwarp", _pop), "inputnode.fieldwarp"),
]),
])
# fmt:on

if not multiecho:
# fmt:off
workflow.connect([
(unwarp_wf, bold_t1_trans_wf, [
# TEMPORARY: For the moment we can't use frame-wise fieldmaps
(("outputnode.fieldwarp", _pop), "inputnode.fieldwarp"),
]),
(bold_split, unwarp_wf, [
("out_files", "inputnode.distorted")]),
])
Expand Down

0 comments on commit a9b3502

Please sign in to comment.