diff --git a/src/loci/formats/services/JZarrServiceImpl.java b/src/loci/formats/services/JZarrServiceImpl.java index 3f32518..732b8c2 100644 --- a/src/loci/formats/services/JZarrServiceImpl.java +++ b/src/loci/formats/services/JZarrServiceImpl.java @@ -107,14 +107,6 @@ public Map getGroupAttr(String path) throws IOException, FormatE } public Map getArrayAttr(String path) throws IOException, FormatException { - ZarrArray array = null; - if (s3fs == null) { - array = ZarrArray.open(path); - } - else { - s3fs.updateRoot(getZarrRoot(s3fs.getRoot()) + stripZarrRoot(path)); - array = ZarrArray.open(s3fs); - } return getArray(path).getAttributes(); }