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

Lifted assertions on z-stack and monochromicity

parent 7033ef02
No related branches found
No related tags found
No related merge requests found
......@@ -99,8 +99,6 @@ def export_patches_from_zstack(
focus_metric: str = None,
**kwargs
):
# assert stack.chroma == 1, 'Expecting monochromatic image data'
assert stack.nz > 1, 'Expecting z-stack'
exported = []
for mi in zmask_meta:
......
......@@ -39,7 +39,6 @@ def build_zmask_from_object_mask(
# validate inputs
assert zstack.chroma == 1
assert zstack.nz > 1
assert mask_type in ('contours', 'boxes'), mask_type
assert obmask.is_mask()
assert obmask.chroma == 1
......
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