From 43a5a6ba4ab1ae10a6b4199a4c0a064eff3bc71f Mon Sep 17 00:00:00 2001 From: Ivan Ivanov Date: Mon, 25 Sep 2023 14:05:09 -0700 Subject: [PATCH] better ndtiff reading them p_idx=0 missing --- iohub/ndtiff.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iohub/ndtiff.py b/iohub/ndtiff.py index 5595f696..65e44e15 100644 --- a/iohub/ndtiff.py +++ b/iohub/ndtiff.py @@ -63,7 +63,7 @@ def _get_summary_metadata(self): position_metadata = {} img_metadata = self.get_image_metadata(position, 0, 0, 0) - if all( + if img_metadata is not None and all( key in img_metadata.keys() for key in [ "XPosition_um_Intended",