From 302ec5b814f16c61a06f1cf19d522a4312e1dabc Mon Sep 17 00:00:00 2001 From: NicolasGensollen Date: Thu, 14 Nov 2024 10:23:24 +0100 Subject: [PATCH] update tests --- test/nonregression/pipelines/dwi/test_pipelines.py | 2 +- test/unittests/utils/test_input_files.py | 2 +- test/unittests/utils/test_utils_inputs.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/nonregression/pipelines/dwi/test_pipelines.py b/test/nonregression/pipelines/dwi/test_pipelines.py index 36c05ac71..fe576ba58 100644 --- a/test/nonregression/pipelines/dwi/test_pipelines.py +++ b/test/nonregression/pipelines/dwi/test_pipelines.py @@ -31,8 +31,8 @@ def run_dwi_dti( input_dir: Path, output_dir: Path, ref_dir: Path, working_dir: Path ) -> None: from clinica.pipelines.dwi.dti.pipeline import DwiDti - from clinica.pipelines.dwi.dti.utils import DTIBasedMeasure from clinica.utils.bids import BIDSFileName + from clinica.utils.dwi import DTIBasedMeasure caps_dir = output_dir / "caps" diff --git a/test/unittests/utils/test_input_files.py b/test/unittests/utils/test_input_files.py index 3aa989efb..1625ca53e 100644 --- a/test/unittests/utils/test_input_files.py +++ b/test/unittests/utils/test_input_files.py @@ -2,7 +2,7 @@ import pytest -from clinica.pipelines.dwi.dti.utils import DTIBasedMeasure +from clinica.utils.dwi import DTIBasedMeasure from clinica.utils.pet import ReconstructionMethod, Tracer diff --git a/test/unittests/utils/test_utils_inputs.py b/test/unittests/utils/test_utils_inputs.py index 265ca48da..6dbebc647 100644 --- a/test/unittests/utils/test_utils_inputs.py +++ b/test/unittests/utils/test_utils_inputs.py @@ -703,7 +703,7 @@ def test_clinica_file_reader_dwi_dti_error(tmp_path): def test_clinica_file_reader_dwi_dti(tmp_path): - from clinica.pipelines.dwi.dti.utils import DTIBasedMeasure + from clinica.utils.dwi import DTIBasedMeasure from clinica.utils.input_files import dwi_dti from clinica.utils.inputs import clinica_file_reader, clinica_list_of_files_reader