Skip to content

Commit f71fb1d

Browse files
committed
RF: Drop VolumeToSurfaceMapping output weights
1 parent 9f29894 commit f71fb1d

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

fmriprep/workflows/bold/resampling.py

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -605,15 +605,13 @@ def init_bold_fsLR_resampling_wf(
605605
)
606606

607607
joinnode = pe.JoinNode(
608-
niu.IdentityInterface(fields=['bold_fsLR', 'weights_text']),
608+
niu.IdentityInterface(fields=['bold_fsLR']),
609609
name='joinnode',
610610
joinsource='itersource',
611611
)
612612

613613
outputnode = pe.Node(
614-
niu.IdentityInterface(
615-
fields=['bold_fsLR', 'goodvoxels_mask', 'weights_text'],
616-
),
614+
niu.IdentityInterface(fields=['bold_fsLR', 'goodvoxels_mask']),
617615
name='outputnode',
618616
)
619617

@@ -667,10 +665,7 @@ def init_bold_fsLR_resampling_wf(
667665
# RibbonVolumeToSurfaceMapping.sh
668666
# Line 85 thru ...
669667
volume_to_surface = pe.Node(
670-
VolumeToSurfaceMapping(
671-
method="ribbon-constrained",
672-
output_weights_text="output_weights.txt",
673-
),
668+
VolumeToSurfaceMapping(method="ribbon-constrained"),
674669
name="volume_to_surface",
675670
mem_gb=mem_gb * 3,
676671
n_procs=omp_nthreads,
@@ -738,8 +733,6 @@ def init_bold_fsLR_resampling_wf(
738733
# Output
739734
(mask_fsLR, joinnode, [('out_file', 'bold_fsLR')]),
740735
(joinnode, outputnode, [('bold_fsLR', 'bold_fsLR')]),
741-
(volume_to_surface, joinnode, [('weights_text_file', 'weights_text')]),
742-
(joinnode, outputnode, [('weights_text', 'weights_text')]),
743736
]) # fmt:skip
744737

745738
if estimate_goodvoxels:

0 commit comments

Comments
 (0)