Skip to content

Commit 6c448a2

Browse files
committed
TST: Parametrize bold2anat in test
1 parent 4524d16 commit 6c448a2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

fmriprep/workflows/bold/tests/test_base.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,15 @@ def bids_root(tmp_path_factory):
3535
@pytest.mark.parametrize("fieldmap_id", ["phasediff", None])
3636
@pytest.mark.parametrize("freesurfer", [False, True])
3737
@pytest.mark.parametrize("level", ["minimal", "resampling", "full"])
38+
@pytest.mark.parametrize("bold2anat_init", ["t1w", "t2w"])
3839
def test_bold_wf(
3940
bids_root: Path,
4041
tmp_path: Path,
4142
task: str,
4243
fieldmap_id: str | None,
4344
freesurfer: bool,
4445
level: str,
46+
bold2anat_init: str,
4547
):
4648
"""Test as many combinations of precomputed files and input
4749
configurations as possible."""
@@ -65,6 +67,7 @@ def test_bold_wf(
6567
img.to_filename(path)
6668

6769
with mock_config(bids_dir=bids_root):
70+
config.workflow.bold2anat_init = bold2anat_init
6871
config.workflow.level = level
6972
config.workflow.run_reconall = freesurfer
7073
wf = init_bold_wf(

0 commit comments

Comments
 (0)