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",