Skip to content

Commit

Permalink
Remove unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
dgault committed May 14, 2024
1 parent ba5b955 commit 7ab9c35
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions src/loci/formats/in/ZarrReader.java
Original file line number Diff line number Diff line change
Expand Up @@ -1242,26 +1242,4 @@ private void reloadOptionsFile(String id) {
}
}
}

/**
* Reloads the bfoptions file statically, only reading the value for the alterntiave file store
*/
private static String loadAltStoreOption(String id) {
String optionsFile = DynamicMetadataOptions.getMetadataOptionsFile(id);
if (optionsFile != null) {
MetadataOptions options = new DynamicMetadataOptions();
if (options != null && options instanceof DynamicMetadataOptions) {
try {
ArrayList<String> optionsList = new ArrayList<String>();
optionsList.add(ALT_STORE_KEY);
((DynamicMetadataOptions) options).loadOptions(optionsFile, optionsList);
return ((DynamicMetadataOptions) options).get(
ALT_STORE_KEY, ALT_STORE_DEFAULT);
} catch (Exception e) {
LOGGER.warn("Exception while attempting to read metadata options file", e);
}
}
}
return ALT_STORE_DEFAULT;
}
}

0 comments on commit 7ab9c35

Please sign in to comment.