Skip to content

Commit 25c66f9

Browse files
committed
Fix connections.
1 parent 20bf34d commit 25c66f9

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

fmriprep/workflows/bold/base.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -531,10 +531,8 @@ def init_bold_wf(
531531
goodvoxels_bold_mask_wf = init_goodvoxels_bold_mask_wf(mem_gb)
532532

533533
workflow.connect([
534-
(inputnode, goodvoxels_bold_mask_wf, [
535-
("bold_file", "inputnode.bold_file"),
536-
("anat_ribbon", "inputnode.anat_ribbon"),
537-
]),
534+
(inputnode, goodvoxels_bold_mask_wf, [("anat_ribbon", "inputnode.anat_ribbon")]),
535+
(bold_anat_wf, goodvoxels_bold_mask_wf, [("bold_file", "inputnode.bold_file")]),
538536
(goodvoxels_bold_mask_wf, bold_fsLR_resampling_wf, [
539537
("outputnode.goodvoxels_mask", "inputnode.volume_roi"),
540538
]),
@@ -593,7 +591,6 @@ def init_bold_wf(
593591
("midthickness_fsLR", "inputnode.midthickness_fsLR"),
594592
("sphere_reg_fsLR", "inputnode.sphere_reg_fsLR"),
595593
("cortex_mask", "inputnode.cortex_mask"),
596-
("anat_ribbon", "inputnode.anat_ribbon"),
597594
]),
598595
(bold_anat_wf, bold_fsLR_resampling_wf, [
599596
("outputnode.bold_file", "inputnode.bold_file"),

fmriprep/workflows/bold/resampling.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -539,8 +539,6 @@ def init_bold_fsLR_resampling_wf(
539539
------
540540
bold_file : :class:`str`
541541
Path to BOLD file resampled into T1 space
542-
anat_ribbon : :class:`str`
543-
Path to mask of cortical ribbon in T1w space, for calculating goodvoxels
544542
white : :class:`list` of :class:`str`
545543
Path to left and right hemisphere white matter GIFTI surfaces.
546544
pial : :class:`list` of :class:`str`
@@ -582,7 +580,6 @@ def init_bold_fsLR_resampling_wf(
582580
niu.IdentityInterface(
583581
fields=[
584582
'bold_file',
585-
'anat_ribbon',
586583
'white',
587584
'pial',
588585
'midthickness',

0 commit comments

Comments
 (0)