Skip to content

Commit

Permalink
registrator 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 13036c4 commit d0ad94d
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def setUp(self):
self.output_dir = test_data_dir + "/temp_output_niftyreg"
os.makedirs(self.output_dir, exist_ok=True)

self.registrator = get_registrator()
self.registrator = self.get_registrator()

self.fixed_image = input_dir + "/tcia_example_t1c.nii.gz"
self.moving_image = input_dir + "/bet_tcia_example_t1c_mask.nii.gz"
Expand Down Expand Up @@ -66,7 +66,6 @@ class TestANTsRegistratorBase(TestRegistratorBase):
def get_registrator(self):
return ANTsRegistrator()


class TestNiftyRegRegistratorRegistratorBase(TestRegistratorBase):
def get_registrator(self):
return NiftyRegRegistrator()

0 comments on commit d0ad94d

Please sign in to comment.