Skip to content

Commit

Permalink
Removed redundant parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
dgault committed May 1, 2024
1 parent f28dab4 commit b1583c4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/loci/formats/in/ZarrReader.java
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ protected void initFile(String id) throws FormatException, IOException {
Location omeMetaFile = new Location( zarrRootPath + File.separator + "OME", "METADATA.ome.xml" );
String canonicalPath = new Location(zarrRootPath).getCanonicalPath();

initializeZarrService(canonicalPath);
initializeZarrService();
reloadOptionsFile(zarrRootPath);

ArrayList<String> omeSeriesOrder = new ArrayList<String>();
Expand Down Expand Up @@ -462,14 +462,14 @@ private static int[] getOriginalShape(int [] shape5D, int size) {
public void reopenFile() throws IOException {
try {
String canonicalPath = new Location(currentId).getCanonicalPath();
initializeZarrService(canonicalPath);
initializeZarrService();
}
catch (FormatException e) {
throw new IOException(e);
}
}

protected void initializeZarrService(String rootPath) throws IOException, FormatException {
protected void initializeZarrService() throws IOException, FormatException {
zarrService = new JZarrServiceImpl(altStore());
openZarr();
}
Expand Down

0 comments on commit b1583c4

Please sign in to comment.