Skip to content

Commit

Permalink
Remove debug lines
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexVCaron committed Jan 16, 2023
1 parent 7566bcf commit ea25380
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions scripts/tests/test_execute_angle_aware_bilateral_filtering.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"))


Expand Down Expand Up @@ -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"))


Expand All @@ -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"))

0 comments on commit ea25380

Please sign in to comment.