@@ -1281,22 +1281,22 @@ def init_ds_surface_masks_wf(
1281
1281
niu .Merge (2 ),
1282
1282
name = 'combine_masks' ,
1283
1283
)
1284
- workflow .connect (combine_masks , outputnode , [('out' , 'mask_files' )])
1284
+ workflow .connect ([( combine_masks , outputnode , [('out' , 'mask_files' )] )])
1285
1285
1286
1286
for i_hemi , hemi in enumerate (['L' , 'R' ]):
1287
1287
select_mask = pe .Node (
1288
1288
niu .Select (index = i_hemi ),
1289
1289
name = f'select_mask_{ hemi } ' ,
1290
1290
run_without_submitting = True ,
1291
1291
)
1292
- workflow .connect (inputnode , select_mask , [('mask_files' , 'inlist' )])
1292
+ workflow .connect ([( inputnode , select_mask , [('mask_files' , 'inlist' )] )])
1293
1293
1294
1294
select_source = pe .Node (
1295
1295
niu .Select (index = i_hemi ),
1296
1296
name = f'select_source_{ hemi } ' ,
1297
1297
run_without_submitting = True ,
1298
1298
)
1299
- workflow .connect (inputnode , select_source , [('source_files' , 'inlist' )])
1299
+ workflow .connect ([( inputnode , select_source , [('source_files' , 'inlist' )] )])
1300
1300
1301
1301
sources = pe .Node (
1302
1302
niu .Function (function = _bids_relative ),
0 commit comments