From e3b1d23bf663ca5c0c2cd569b81c32a9bd9c750c Mon Sep 17 00:00:00 2001 From: David Gault Date: Mon, 23 Oct 2023 16:12:57 +0100 Subject: [PATCH] Do not assume label images have same resolution levels --- src/loci/formats/in/ZarrReader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/loci/formats/in/ZarrReader.java b/src/loci/formats/in/ZarrReader.java index 5a3b696..f80cb6d 100644 --- a/src/loci/formats/in/ZarrReader.java +++ b/src/loci/formats/in/ZarrReader.java @@ -285,7 +285,7 @@ protected void initFile(String id) throws FormatException, IOException { core.add(ms); boolean openZarr = true; - if (quickRead() && resShapes.containsKey(resolutionIndex)) { + if (quickRead() && resShapes.containsKey(resolutionIndex) && !arrayPaths.get(i).toLowerCase().contains("label")) { openZarr = false; }