Skip to content
Snippets Groups Projects

Merge branch 'fix_single_frame' into '2.1'

Merged payno requested to merge cherry-pick-bec26331 into main
2 files
+ 53
0
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -110,6 +110,7 @@ def test_create_volume_from_folder(tmp_path, volume_constructor):
)
# check overwrite parameter
volume.data = numpy.random.random((45, 45, 45))
with pytest.raises(OSError):
volume.save()
@@ -117,6 +118,9 @@ def test_create_volume_from_folder(tmp_path, volume_constructor):
if isinstance(volume, JP2KVolume):
volume.rescale_data = False
volume.save()
assert volume.get_volume_shape() == (45, 45, 45)
volume.data = _data
volume.save()
# check load data and metadata
volume.clear_cache()
@@ -213,6 +217,7 @@ def test_several_writer(tmp_path, volume_constructor):
)
volume_2.rescale_data = False
volume_1.save()
volume_2.skip_existing_data_files_removal = True
volume_2.save()
full_volume = volume_constructor(folder=volume_dir)
Loading