Skip to content

Commit 75f627a

Browse files
committed
FIX: Name the nodes
1 parent c718573 commit 75f627a

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

smriprep/workflows/surfaces.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -584,8 +584,11 @@ def init_msm_sulc_wf(*, name: str = 'msm_sulc_wf'):
584584
from ..interfaces.workbench import SurfaceAffineRegression, SurfaceApplyAffine
585585

586586
workflow = Workflow(name=name)
587-
inputnode = pe.Node(niu.IdentityInterface(fields=['sulc', 'sphere', 'sphere_reg_fsLR']))
588-
outputnode = pe.Node(niu.IdentityInterface(fields=['sphere_reg_fsLR']))
587+
inputnode = pe.Node(
588+
niu.IdentityInterface(fields=['sulc', 'sphere', 'sphere_reg_fsLR']),
589+
name='inputnode',
590+
)
591+
outputnode = pe.Node(niu.IdentityInterface(fields=['sphere_reg_fsLR']), name='outputnode')
589592

590593
# 0) Calculate affine
591594
# ${CARET7DIR}/wb_command -surface-affine-regression \
@@ -619,7 +622,7 @@ def init_msm_sulc_wf(*, name: str = 'msm_sulc_wf'):
619622
MSM(verbose=True, config_file=load_resource('msm/MSMSulcStrainFinalconf')),
620623
iterfield=['in_mesh', 'reference_mesh', 'in_data', 'reference_data', 'out_base'],
621624
name='msmsulc',
622-
# memory?
625+
mem_gb=2,
623626
)
624627
msmsulc.inputs.out_base = ['lh.', 'rh.'] # To placate Path2BIDS
625628
msmsulc.inputs.reference_mesh = [

0 commit comments

Comments
 (0)