From 802c6156bd3bdd4bea92be34f065176215a9d8ef Mon Sep 17 00:00:00 2001
From: Christopher Rhodes <christopher.rhodes@embl.de>
Date: Sun, 22 Oct 2023 08:15:40 +0200
Subject: [PATCH] Removed assertion that data is z-stack

---
 extensions/chaeo/annotators.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/extensions/chaeo/annotators.py b/extensions/chaeo/annotators.py
index 10019d2b..145e1505 100644
--- a/extensions/chaeo/annotators.py
+++ b/extensions/chaeo/annotators.py
@@ -33,7 +33,6 @@ def draw_boxes_on_3d_image(yxcz_img, boxes, draw_full_depth=False, **kwargs):
     assert len(yxcz_img.shape) == 4
     nz = yxcz_img.shape[3]
     assert yxcz_img.shape[2] == 1
-    assert nz > 1
 
     annotated = np.zeros(yxcz_img.shape, dtype=yxcz_img.dtype)
 
-- 
GitLab