Skip to content

Commit

Permalink
RF: Drop VolumeToSurfaceMapping output weights
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Nov 16, 2023
1 parent 9f29894 commit f71fb1d
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions fmriprep/workflows/bold/resampling.py
Original file line number Diff line number Diff line change
Expand Up @@ -605,15 +605,13 @@ def init_bold_fsLR_resampling_wf(
)

joinnode = pe.JoinNode(
niu.IdentityInterface(fields=['bold_fsLR', 'weights_text']),
niu.IdentityInterface(fields=['bold_fsLR']),
name='joinnode',
joinsource='itersource',
)

outputnode = pe.Node(
niu.IdentityInterface(
fields=['bold_fsLR', 'goodvoxels_mask', 'weights_text'],
),
niu.IdentityInterface(fields=['bold_fsLR', 'goodvoxels_mask']),
name='outputnode',
)

Expand Down Expand Up @@ -667,10 +665,7 @@ def init_bold_fsLR_resampling_wf(
# RibbonVolumeToSurfaceMapping.sh
# Line 85 thru ...
volume_to_surface = pe.Node(
VolumeToSurfaceMapping(
method="ribbon-constrained",
output_weights_text="output_weights.txt",
),
VolumeToSurfaceMapping(method="ribbon-constrained"),
name="volume_to_surface",
mem_gb=mem_gb * 3,
n_procs=omp_nthreads,
Expand Down Expand Up @@ -738,8 +733,6 @@ def init_bold_fsLR_resampling_wf(
# Output
(mask_fsLR, joinnode, [('out_file', 'bold_fsLR')]),
(joinnode, outputnode, [('bold_fsLR', 'bold_fsLR')]),
(volume_to_surface, joinnode, [('weights_text_file', 'weights_text')]),
(joinnode, outputnode, [('weights_text', 'weights_text')]),
]) # fmt:skip

if estimate_goodvoxels:
Expand Down

0 comments on commit f71fb1d

Please sign in to comment.