Skip to content
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions sdcflows/workflows/fit/tests/test_syn.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
import json

import acres
import numpy as np
import nibabel as nb
import pytest
from nipype.pipeline import engine as pe

Expand All @@ -44,12 +46,11 @@
@pytest.mark.parametrize(
("n_bold", "coregister", "sd_prior"),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
("n_bold", "coregister", "sd_prior"),
("n_bold", "coregister"),

[
(1, True, True),
# Switch to False once we have a transform in tests/data
(2, True, False),
(1, True),
(2, True),
]
)
def test_syn_wf(tmpdir, datadir, workdir, outdir, sloppy_mode, n_bold, coregister, sd_prior):
def test_syn_wf(tmpdir, datadir, workdir, outdir, sloppy_mode, n_bold, coregister):
"""Build and run an SDC-SyN workflow."""
derivs_path = datadir / "ds000054" / "derivatives"
smriprep = derivs_path / "smriprep-0.6" / "sub-100185" / "anat"
Expand All @@ -60,7 +61,6 @@ def test_syn_wf(tmpdir, datadir, workdir, outdir, sloppy_mode, n_bold, coregiste
omp_nthreads=4,
debug=sloppy_mode,
auto_bold_nss=True,
sd_prior=sd_prior,
coregister=coregister,
)
prep_wf.inputs.inputnode.in_epis = [
Expand Down
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.