From ea25380062cfdaa4126874a831c30e7a0f69b22f Mon Sep 17 00:00:00 2001 From: Alex Valcourt Caron Date: Mon, 16 Jan 2023 14:35:12 -0500 Subject: [PATCH] Remove debug lines --- .../test_execute_angle_aware_bilateral_filtering.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/scripts/tests/test_execute_angle_aware_bilateral_filtering.py b/scripts/tests/test_execute_angle_aware_bilateral_filtering.py index bfca4fcc8d..5184293150 100644 --- a/scripts/tests/test_execute_angle_aware_bilateral_filtering.py +++ b/scripts/tests/test_execute_angle_aware_bilateral_filtering.py @@ -6,7 +6,6 @@ import os import pytest import tempfile -from shutil import copyfile from scilpy.io.fetcher import get_testing_files_dict, fetch_data, get_home from scilpy.tests.checks import assert_images_close @@ -64,9 +63,6 @@ def test_asym_basis_output( if apply_mocks: filter_mock.assert_called_once() - copyfile(in_fodf, "/mnt/d/in_fodf1.nii.gz") - copyfile("out_fodf1.nii.gz", "/mnt/d/out_fodf1.nii.gz") - copyfile(out_fodf, "/mnt/d/out_fodf1_cmp.nii.gz") assert_images_close(nib.load(out_fodf), nib.load("out_fodf1.nii.gz")) @@ -96,11 +92,6 @@ def test_sym_basis_output( if apply_mocks: filter_mock.assert_called_once() - copyfile(in_fodf, "/mnt/d/in_fodf2.nii.gz") - copyfile("out_fodf2.nii.gz", "/mnt/d/out_fodf2.nii.gz") - copyfile(out_fodf, "/mnt/d/out_fodf2_cmp.nii.gz") - copyfile("out_sym.nii.gz", "/mnt/d/out_sym.nii.gz") - copyfile(sym_fodf, "/mnt/d/out_sym_cmp.nii.gz") assert_images_close(nib.load(sym_fodf), nib.load("out_sym.nii.gz")) @@ -127,7 +118,4 @@ def test_asym_input(script_runner, filter_mock, apply_mocks, in_fodf, out_fodf): if apply_mocks: filter_mock.assert_called_once() - copyfile(in_fodf, "/mnt/d/in_fodf3.nii.gz") - copyfile("out_fodf3.nii.gz", "/mnt/d/out_fodf3.nii.gz") - copyfile(out_fodf, "/mnt/d/out_fodf3_cmp.nii.gz") assert_images_close(nib.load(out_fodf), nib.load("out_fodf3.nii.gz"))