Skip to content
Snippets Groups Projects
Commit 30e2f252 authored by Christopher Randolph Rhodes's avatar Christopher Randolph Rhodes
Browse files

Correctly export 3D patches

parent addec54f
No related branches found
No related tags found
2 merge requests!18Completed (de)serialization of RoiSet,!16Completed (de)serialization of RoiSet
...@@ -138,8 +138,14 @@ class TestRoiSetMonoProducts(BaseTestRoiSetMonoProducts, unittest.TestCase): ...@@ -138,8 +138,14 @@ class TestRoiSetMonoProducts(BaseTestRoiSetMonoProducts, unittest.TestCase):
roiset = self._make_roi_set() roiset = self._make_roi_set()
files = roiset.export_patches( files = roiset.export_patches(
output_path / '3d_patches', output_path / '3d_patches',
make_3d=True) make_3d=True,
expanded=True
)
self.assertGreaterEqual(len(files), 1) self.assertGreaterEqual(len(files), 1)
for f in files:
acc = generate_file_accessor(f)
self.assertGreater(acc.nz, 1)
def test_export_annotated_zstack(self): def test_export_annotated_zstack(self):
roiset = self._make_roi_set() roiset = self._make_roi_set()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment