@@ -137,6 +137,8 @@ def _make_params(
137
137
surface_recon_method : str | None = 'auto' ,
138
138
ignore : list [str ] = None ,
139
139
bids_filters : dict = None ,
140
+ norm_csf : bool = False ,
141
+ multi_step_reg : bool = False ,
140
142
):
141
143
if ignore is None :
142
144
ignore = []
@@ -157,6 +159,8 @@ def _make_params(
157
159
surface_recon_method ,
158
160
ignore ,
159
161
bids_filters ,
162
+ norm_csf ,
163
+ multi_step_reg ,
160
164
)
161
165
162
166
@@ -178,6 +182,8 @@ def _make_params(
178
182
'surface_recon_method' ,
179
183
'ignore' ,
180
184
'bids_filters' ,
185
+ 'norm_csf' ,
186
+ 'multi_step_reg' ,
181
187
),
182
188
[
183
189
_make_params (),
@@ -211,6 +217,8 @@ def _make_params(
211
217
# _make_params(freesurfer=False, bold2anat_init="header", use_bbr=False),
212
218
# Regression test for gh-3154:
213
219
_make_params (bids_filters = {'sbref' : {'suffix' : 'sbref' }}),
220
+ _make_params (norm_csf = True ),
221
+ _make_params (multi_step_reg = True ),
214
222
],
215
223
)
216
224
def test_init_nibabies_wf (
@@ -233,6 +241,8 @@ def test_init_nibabies_wf(
233
241
surface_recon_method : str | None ,
234
242
ignore : list [str ],
235
243
bids_filters : dict ,
244
+ norm_csf : bool ,
245
+ multi_step_reg : bool ,
236
246
):
237
247
monkeypatch .setenv ('SUBJECTS_DIR' , '/opt/freesurfer/subjects' )
238
248
with mock_config (bids_dir = bids_root ):
@@ -244,6 +254,8 @@ def test_init_nibabies_wf(
244
254
config .execution .me_output_echos = me_output_echos
245
255
config .workflow .medial_surface_nan = medial_surface_nan
246
256
config .workflow .project_goodvoxels = project_goodvoxels
257
+ config .workflow .norm_csf = norm_csf
258
+ config .workflow .multi_step_reg = multi_step_reg
247
259
# config.workflow.run_msmsulc = run_msmsulc
248
260
config .workflow .skull_strip_anat = skull_strip_anat
249
261
config .workflow .cifti_output = cifti_output
0 commit comments