@@ -339,12 +339,8 @@ def init_anat_preproc_wf(
339339 bids_root = bids_root ,
340340 output_dir = output_dir ,
341341 )
342- surface_derivatives_wf = init_surface_derivatives_wf (
343- cifti_output = cifti_output ,
344- )
345- ds_surfaces_wf = init_ds_surfaces_wf (
346- bids_root = bids_root , output_dir = output_dir , surfaces = ['inflated' ]
347- )
342+ surface_derivatives_wf = init_surface_derivatives_wf ()
343+ ds_surfaces_wf = init_ds_surfaces_wf (output_dir = output_dir , surfaces = ['inflated' ])
348344 ds_curv_wf = init_ds_surface_metrics_wf (
349345 bids_root = bids_root , output_dir = output_dir , metrics = ['curv' ], name = 'ds_curv_wf'
350346 )
@@ -1215,9 +1211,7 @@ def init_anat_fit_wf(
12151211 LOGGER .info (f'ANAT Stage 8: Creating GIFTI surfaces for { surfs + spheres } ' )
12161212 if surfs :
12171213 gifti_surfaces_wf = init_gifti_surfaces_wf (surfaces = surfs )
1218- ds_surfaces_wf = init_ds_surfaces_wf (
1219- bids_root = bids_root , output_dir = output_dir , surfaces = surfs
1220- )
1214+ ds_surfaces_wf = init_ds_surfaces_wf (output_dir = output_dir , surfaces = surfs )
12211215 # fmt:off
12221216 workflow .connect ([
12231217 (surface_recon_wf , gifti_surfaces_wf , [
@@ -1239,7 +1233,7 @@ def init_anat_fit_wf(
12391233 surfaces = spheres , to_scanner = False , name = 'gifti_spheres_wf'
12401234 )
12411235 ds_spheres_wf = init_ds_surfaces_wf (
1242- bids_root = bids_root , output_dir = output_dir , surfaces = spheres , name = 'ds_spheres_wf'
1236+ output_dir = output_dir , surfaces = spheres , name = 'ds_spheres_wf'
12431237 )
12441238 # fmt:off
12451239 workflow .connect ([
@@ -1315,7 +1309,6 @@ def init_anat_fit_wf(
13151309 LOGGER .info ('ANAT Stage 9: Creating fsLR registration sphere' )
13161310 fsLR_reg_wf = init_fsLR_reg_wf ()
13171311 ds_fsLR_reg_wf = init_ds_surfaces_wf (
1318- bids_root = bids_root ,
13191312 output_dir = output_dir ,
13201313 surfaces = ['sphere_reg_fsLR' ],
13211314 name = 'ds_fsLR_reg_wf' ,
@@ -1340,7 +1333,6 @@ def init_anat_fit_wf(
13401333 LOGGER .info ('ANAT Stage 10: Creating MSM-Sulc registration sphere' )
13411334 msm_sulc_wf = init_msm_sulc_wf (sloppy = sloppy )
13421335 ds_msmsulc_wf = init_ds_surfaces_wf (
1343- bids_root = bids_root ,
13441336 output_dir = output_dir ,
13451337 surfaces = ['sphere_reg_msm' ],
13461338 name = 'ds_msmsulc_wf' ,
0 commit comments