Skip to content

Commit

Permalink
Remove unnecessary bfoptions extension
Browse files Browse the repository at this point in the history
  • Loading branch information
dgault committed Oct 31, 2023
1 parent a7ec0c4 commit 4357f54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/loci/formats/in/ZarrReader.java
Original file line number Diff line number Diff line change
Expand Up @@ -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<String> omeSeriesOrder = new ArrayList<String>();
if(omeMetaFile.exists()) {
Expand Down Expand Up @@ -1095,7 +1095,7 @@ public String[] getUsedFiles(boolean noPixels) {
FormatTools.assertId(currentId, true, 1);
String zarrRootPath = currentId.substring(0, currentId.indexOf(".zarr") + 5);
ArrayList<String> usedFiles = new ArrayList<String>();
reloadOptionsFile(zarrRootPath+".bfoptions");
reloadOptionsFile(zarrRootPath);

boolean skipPixels = noPixels || !listPixels() || !systemEnvListPixels();
boolean includeLabels = includeLabels();
Expand Down

0 comments on commit 4357f54

Please sign in to comment.