diff --git a/src/loci/formats/in/ZarrReader.java b/src/loci/formats/in/ZarrReader.java index 7e756a0..99899a3 100644 --- a/src/loci/formats/in/ZarrReader.java +++ b/src/loci/formats/in/ZarrReader.java @@ -187,7 +187,7 @@ protected void initFile(String id) throws FormatException, IOException { String canonicalPath = new Location(zarrRootPath).getCanonicalPath(); initializeZarrService(canonicalPath); - reloadOptionsFile(zarrRootPath+".bfoptions"); + reloadOptionsFile(zarrRootPath); ArrayList omeSeriesOrder = new ArrayList(); if(omeMetaFile.exists()) { @@ -1095,7 +1095,7 @@ public String[] getUsedFiles(boolean noPixels) { FormatTools.assertId(currentId, true, 1); String zarrRootPath = currentId.substring(0, currentId.indexOf(".zarr") + 5); ArrayList usedFiles = new ArrayList(); - reloadOptionsFile(zarrRootPath+".bfoptions"); + reloadOptionsFile(zarrRootPath); boolean skipPixels = noPixels || !listPixels() || !systemEnvListPixels(); boolean includeLabels = includeLabels();