@@ -339,12 +339,8 @@ def init_anat_preproc_wf(
339
339
bids_root = bids_root ,
340
340
output_dir = output_dir ,
341
341
)
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' ])
348
344
ds_curv_wf = init_ds_surface_metrics_wf (
349
345
bids_root = bids_root , output_dir = output_dir , metrics = ['curv' ], name = 'ds_curv_wf'
350
346
)
@@ -1215,9 +1211,7 @@ def init_anat_fit_wf(
1215
1211
LOGGER .info (f'ANAT Stage 8: Creating GIFTI surfaces for { surfs + spheres } ' )
1216
1212
if surfs :
1217
1213
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 )
1221
1215
# fmt:off
1222
1216
workflow .connect ([
1223
1217
(surface_recon_wf , gifti_surfaces_wf , [
@@ -1239,7 +1233,7 @@ def init_anat_fit_wf(
1239
1233
surfaces = spheres , to_scanner = False , name = 'gifti_spheres_wf'
1240
1234
)
1241
1235
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'
1243
1237
)
1244
1238
# fmt:off
1245
1239
workflow .connect ([
@@ -1315,7 +1309,6 @@ def init_anat_fit_wf(
1315
1309
LOGGER .info ('ANAT Stage 9: Creating fsLR registration sphere' )
1316
1310
fsLR_reg_wf = init_fsLR_reg_wf ()
1317
1311
ds_fsLR_reg_wf = init_ds_surfaces_wf (
1318
- bids_root = bids_root ,
1319
1312
output_dir = output_dir ,
1320
1313
surfaces = ['sphere_reg_fsLR' ],
1321
1314
name = 'ds_fsLR_reg_wf' ,
@@ -1340,7 +1333,6 @@ def init_anat_fit_wf(
1340
1333
LOGGER .info ('ANAT Stage 10: Creating MSM-Sulc registration sphere' )
1341
1334
msm_sulc_wf = init_msm_sulc_wf (sloppy = sloppy )
1342
1335
ds_msmsulc_wf = init_ds_surfaces_wf (
1343
- bids_root = bids_root ,
1344
1336
output_dir = output_dir ,
1345
1337
surfaces = ['sphere_reg_msm' ],
1346
1338
name = 'ds_msmsulc_wf' ,
0 commit comments