Skip to content

Commit

Permalink
typo test file format
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Schorb committed Jan 31, 2024
1 parent e7474db commit baddb88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_image_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def make_hdf5_data(self, path, key, shape, func=None):
f.create_dataset(key, data=data)

def init_h5_dataset(
self, dataset_name, raw_name, shape, file_format=" bdv.n5", func=None, int_to_uint=False
self, dataset_name, raw_name, shape, file_format=" bdv-n5", func=None, int_to_uint=False
):

data_path = os.path.join(self.test_folder, "data.h5")
Expand Down Expand Up @@ -313,7 +313,7 @@ def test_with_trafo_ome_zarr(self):

def test_with_trafo_bdv_n5(self):
trafo = np.random.rand(12).tolist()
self._test_with_trafo(file_format="bdv.n5", transformation=trafo)
self._test_with_trafo(file_format="bdv-n5", transformation=trafo)
# TODO check that the transformation is added correctly
# dataset_folder = os.path.join(self.root, self.dataset_name)
# xml_path = os.path.join(self.dataset_folder, "images", "bdv-n5", f"{name}.xml")
Expand Down

0 comments on commit baddb88

Please sign in to comment.