Skip to content

Commit

Permalink
Fix test paths.
Browse files Browse the repository at this point in the history
  • Loading branch information
tsalo committed Jun 10, 2024
1 parent 2b62af3 commit 8b1b880
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 122 deletions.
117 changes: 0 additions & 117 deletions qsiprep/tests/data/DSDTI_outputs.txt

This file was deleted.

10 changes: 5 additions & 5 deletions qsiprep/tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -794,7 +794,7 @@ def test_scalar_mapper(data_dir, output_dir, working_dir):

dataset_dir = download_test_data("multishell_output", data_dir)
# XXX: Having to modify dataset_dirs is suboptimal.
dataset_dir = os.path.join(dataset_dir, "qsiprep")
dataset_dir = os.path.join(dataset_dir, "multishell_output", "qsiprep")
out_dir = os.path.join(output_dir, TEST_NAME)
work_dir = os.path.join(working_dir, TEST_NAME)

Expand Down Expand Up @@ -831,7 +831,7 @@ def test_pyafq_recon_external_trk(data_dir, output_dir, working_dir):

dataset_dir = download_test_data("multishell_output", data_dir)
# XXX: Having to modify dataset_dirs is suboptimal.
dataset_dir = os.path.join(dataset_dir, "qsiprep")
dataset_dir = os.path.join(dataset_dir, "multishell_output", "qsiprep")
out_dir = os.path.join(output_dir, TEST_NAME)
work_dir = os.path.join(working_dir, TEST_NAME)

Expand Down Expand Up @@ -868,7 +868,7 @@ def test_pyafq_recon_full(data_dir, output_dir, working_dir):

dataset_dir = download_test_data("multishell_output", data_dir)
# XXX: Having to modify dataset_dirs is suboptimal.
dataset_dir = os.path.join(dataset_dir, "qsiprep")
dataset_dir = os.path.join(dataset_dir, "multishell_output", "qsiprep")
out_dir = os.path.join(output_dir, TEST_NAME)
work_dir = os.path.join(working_dir, TEST_NAME)

Expand Down Expand Up @@ -909,7 +909,7 @@ def test_mrtrix3_recon(data_dir, output_dir, working_dir):

dataset_dir = download_test_data("multishell_output", data_dir)
# XXX: Having to modify dataset_dirs is suboptimal.
dataset_dir = os.path.join(dataset_dir, "qsiprep")
dataset_dir = os.path.join(dataset_dir, "multishell_output", "qsiprep")
out_dir = os.path.join(output_dir, TEST_NAME)
work_dir = os.path.join(working_dir, TEST_NAME)

Expand Down Expand Up @@ -943,7 +943,7 @@ def test_tortoise_recon(data_dir, output_dir, working_dir):

dataset_dir = download_test_data("multishell_output", data_dir)
# XXX: Having to modify dataset_dirs is suboptimal.
dataset_dir = os.path.join(dataset_dir, "qsiprep")
dataset_dir = os.path.join(dataset_dir, "multishell_output", "qsiprep")
out_dir = os.path.join(output_dir, TEST_NAME)
work_dir = os.path.join(working_dir, TEST_NAME)

Expand Down

0 comments on commit 8b1b880

Please sign in to comment.