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

Now test against multichannel TIF that includes chlorophyl

parent 82e538b2
No related branches found
No related tags found
No related merge requests found
......@@ -3,10 +3,10 @@ from pathlib import Path
root = Path.home() / 'model-server'
multichannel_zstack = {
'path': root / 'testing' / 'zmask-test-stack.tif',
'path': root / 'testing' / 'zmask-test-stack-chlorophyl.tif',
'w': 512,
'h': 512,
'c': 2,
'c': 5,
'z': 7,
}
......
......@@ -86,7 +86,7 @@ class TestZStackDerivedDataProducts(unittest.TestCase):
)
files = export_patches_from_zstack(
output_path / '3d_patches',
self.stack.get_one_channel_data(channel=1),
self.stack.get_one_channel_data(4),
meta,
make_3d=True)
self.assertGreaterEqual(len(files), 1)
......@@ -94,7 +94,7 @@ class TestZStackDerivedDataProducts(unittest.TestCase):
def test_flatten_image(self):
zmask, meta, df, interm = build_zmask_from_object_mask(
self.obmap.get_one_channel_data(0),
self.stack.get_one_channel_data(1),
self.stack.get_one_channel_data(4),
mask_type='boxes',
)
......
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