From 2dcb8530ad75d693a69c4e944cd4d7c75023d5fc Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 18 Dec 2023 16:53:39 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- pydra/tasks/mrtrix3/conftest.py | 1 - pydra/tasks/mrtrix3/tests/test_utils.py | 2 -- 2 files changed, 3 deletions(-) diff --git a/pydra/tasks/mrtrix3/conftest.py b/pydra/tasks/mrtrix3/conftest.py index b121c79..ea3513c 100644 --- a/pydra/tasks/mrtrix3/conftest.py +++ b/pydra/tasks/mrtrix3/conftest.py @@ -16,7 +16,6 @@ def _docdir(request): doctest_plugin = request.config.pluginmanager.getplugin("doctest") if isinstance(request.node, doctest_plugin.DoctestItem): - # get the fixture dynamically by its name tmpdir = pp.local(data_dir) diff --git a/pydra/tasks/mrtrix3/tests/test_utils.py b/pydra/tasks/mrtrix3/tests/test_utils.py index 6b5906f..5067b1c 100644 --- a/pydra/tasks/mrtrix3/tests/test_utils.py +++ b/pydra/tasks/mrtrix3/tests/test_utils.py @@ -18,7 +18,6 @@ def nifti_dataset(work_dir): def test_mrconvert_default_out_file(nifti_dataset): - task = MRConvert(in_file=nifti_dataset, axes=[0, 1, 2, -1]) result = task() @@ -34,7 +33,6 @@ def test_mrconvert_default_out_file(nifti_dataset): ) ) def test_mrconvert_explicit_out_file(dwi_dicom_dataset): - task = MRConvert(in_file=dwi_dicom_dataset, out_file="test.nii.gz") result = task()