Skip to content

Commit

Permalink
fix: incorrect joinfield on new node
Browse files Browse the repository at this point in the history
  • Loading branch information
oesteban committed Oct 23, 2021
1 parent f6f3054 commit bf68f50
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions fmriprep/workflows/bold/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1145,7 +1145,13 @@ def init_func_preproc_wf(bold_file, has_fieldmap=False):
]
),
joinsource=("meepi_echos" if run_stc is True else "boldbuffer"),
joinfield=["bold_files"],
joinfield=[
"fieldmap",
"fieldwarp",
"corrected",
"corrected_ref",
"corrected_mask",
],
name="join_sdc_echos",
)

Expand All @@ -1169,7 +1175,7 @@ def _dpop(list_of_lists):
("corrected", "inputnode.bold_file"),
]),
(join_sdc_echos, bold_t2s_wf, [
("corrected_mask", "inputnode.bold_mask"),
(("corrected_mask", pop_file), "inputnode.bold_mask"),
]),
(join_sdc_echos, bold_t1_trans_wf, [
# TEMPORARY: For the moment we can't use frame-wise fieldmaps
Expand Down

0 comments on commit bf68f50

Please sign in to comment.