Skip to content

Commit 81d5fac

Browse files
committed
FIX: Set scalar_names after MapNode is defined
1 parent a22ee57 commit 81d5fac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

smriprep/workflows/surfaces.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -981,11 +981,11 @@ def init_morph_grayords_wf(
981981
gen_cifti = pe.MapNode(
982982
GenerateDScalar(
983983
grayordinates=grayord_density,
984-
scalar_name=['curv', 'sulc', 'thickness'],
985984
),
986985
iterfield=['scalar_name', 'scalar_surfs'],
987986
name="gen_cifti",
988987
)
988+
gen_cifti.inputs.scalar_name = ['curv', 'sulc', 'thickness']
989989

990990
# fmt: off
991991
workflow.connect([

0 commit comments

Comments
 (0)