Skip to content

Commit

Permalink
Try using more reduced data.
Browse files Browse the repository at this point in the history
  • Loading branch information
tsalo committed Jul 9, 2024
1 parent 973f409 commit 39c2800
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
8 changes: 8 additions & 0 deletions qsiprep/tests/data/forrest_gump_filter.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"t1w": {
"reconstruction": "autobox"
},
"t2w": {
"reconstruction": "autobox"
}
}
5 changes: 5 additions & 0 deletions qsiprep/tests/data/maternal_brain_project_filter.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"t1w": {
"reconstruction": "autobox"
}
}
8 changes: 8 additions & 0 deletions qsiprep/tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -982,6 +982,9 @@ def test_maternal_brain_project(data_dir, output_dir, working_dir):
out_dir = os.path.join(output_dir, TEST_NAME)
work_dir = os.path.join(working_dir, TEST_NAME)

test_data_path = get_test_data_path()
bids_filter = os.path.join(test_data_path, f"{TEST_NAME}_filter.json")

parameters = [
dataset_dir,
out_dir,
Expand All @@ -991,6 +994,7 @@ def test_maternal_brain_project(data_dir, output_dir, working_dir):
"--write-graph",
"--output-resolution=5",
"--hmc-model=3dSHORE",
f"--bids-filter-file={bids_filter}",
]

_run_and_generate(TEST_NAME, parameters, test_main=True)
Expand All @@ -1013,6 +1017,9 @@ def test_forrest_gump(data_dir, output_dir, working_dir):
out_dir = os.path.join(output_dir, TEST_NAME)
work_dir = os.path.join(working_dir, TEST_NAME)

test_data_path = get_test_data_path()
bids_filter = os.path.join(test_data_path, f"{TEST_NAME}_filter.json")

parameters = [
dataset_dir,
out_dir,
Expand All @@ -1021,6 +1028,7 @@ def test_forrest_gump(data_dir, output_dir, working_dir):
"--sloppy",
"--write-graph",
"--output-resolution=5",
f"--bids-filter-file={bids_filter}",
]

_run_and_generate(TEST_NAME, parameters, test_main=True)
Expand Down

0 comments on commit 39c2800

Please sign in to comment.