Skip to content

Commit 57c2fcc

Browse files
committed
TST: Add new parameters to workflow construction test
1 parent 7878af8 commit 57c2fcc

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

nibabies/workflows/tests/test_base.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,8 @@ def _make_params(
137137
surface_recon_method: str | None = 'auto',
138138
ignore: list[str] = None,
139139
bids_filters: dict = None,
140+
norm_csf: bool = False,
141+
multi_step_reg: bool = False,
140142
):
141143
if ignore is None:
142144
ignore = []
@@ -157,6 +159,8 @@ def _make_params(
157159
surface_recon_method,
158160
ignore,
159161
bids_filters,
162+
norm_csf,
163+
multi_step_reg,
160164
)
161165

162166

@@ -178,6 +182,8 @@ def _make_params(
178182
'surface_recon_method',
179183
'ignore',
180184
'bids_filters',
185+
'norm_csf',
186+
'multi_step_reg',
181187
),
182188
[
183189
_make_params(),
@@ -211,6 +217,8 @@ def _make_params(
211217
# _make_params(freesurfer=False, bold2anat_init="header", use_bbr=False),
212218
# Regression test for gh-3154:
213219
_make_params(bids_filters={'sbref': {'suffix': 'sbref'}}),
220+
_make_params(norm_csf=True),
221+
_make_params(multi_step_reg=True),
214222
],
215223
)
216224
def test_init_nibabies_wf(
@@ -233,6 +241,8 @@ def test_init_nibabies_wf(
233241
surface_recon_method: str | None,
234242
ignore: list[str],
235243
bids_filters: dict,
244+
norm_csf: bool,
245+
multi_step_reg: bool,
236246
):
237247
monkeypatch.setenv('SUBJECTS_DIR', '/opt/freesurfer/subjects')
238248
with mock_config(bids_dir=bids_root):
@@ -244,6 +254,8 @@ def test_init_nibabies_wf(
244254
config.execution.me_output_echos = me_output_echos
245255
config.workflow.medial_surface_nan = medial_surface_nan
246256
config.workflow.project_goodvoxels = project_goodvoxels
257+
config.workflow.norm_csf = norm_csf
258+
config.workflow.multi_step_reg = multi_step_reg
247259
# config.workflow.run_msmsulc = run_msmsulc
248260
config.workflow.skull_strip_anat = skull_strip_anat
249261
config.workflow.cifti_output = cifti_output

0 commit comments

Comments
 (0)