Skip to content

Commit

Permalink
working tests
Browse files Browse the repository at this point in the history
Signed-off-by: neuronflow <[email protected]>
  • Loading branch information
neuronflow committed Mar 1, 2024
1 parent 8fadd54 commit 45f2458
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/test_registrators.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
from auxiliary.turbopath import turbopath

from brainles_preprocessing.registration.ANTs.ANTs import ANTsRegistrator
from brainles_preprocessing.registration.niftyreg.niftyreg import NiftyRegRegistrator
from brainles_preprocessing.registration.niftyreg.niftyreg import \
NiftyRegRegistrator


class RegistratorBase:
Expand All @@ -31,7 +32,7 @@ def setUp(self):
self.moving_image = input_dir + "/bet_tcia_example_t1c_mask.nii.gz"

self.matrix = self.output_dir + "/matrix"
self.transform_matrix = f"{self.matrix}.{self.matrix_extension}"
self.transform_matrix = input_dir + f"/matrix.{self.matrix_extension}"

def tearDown(self):
# Clean up created files if they exist
Expand Down

0 comments on commit 45f2458

Please sign in to comment.