Skip to content

Commit

Permalink
Do not assume label images have same resolution levels
Browse files Browse the repository at this point in the history
  • Loading branch information
dgault committed Oct 23, 2023
1 parent b20ef9c commit e3b1d23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/loci/formats/in/ZarrReader.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit e3b1d23

Please sign in to comment.