diff --git a/sources/bioformats/large_image_source_bioformats/__init__.py b/sources/bioformats/large_image_source_bioformats/__init__.py index d30f38f5b..54367a86b 100644 --- a/sources/bioformats/large_image_source_bioformats/__init__.py +++ b/sources/bioformats/large_image_source_bioformats/__init__.py @@ -74,6 +74,8 @@ def _monitor_thread(): except Exception: pass source._bioimage = None + except AssertionError: + pass finally: if javabridge.get_env(): javabridge.detach()