Skip to content

Commit

Permalink
Use MarsN5ViewReaderFun in place of N5Importer default
Browse files Browse the repository at this point in the history
This is required to allow support for minio endpoints currently.
  • Loading branch information
karlduderstadt committed Nov 5, 2023
1 parent 2632b46 commit cb78487
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
package de.mpg.biochem.mars.kymograph;

import de.mpg.biochem.mars.n5.MarsN5Source;
import de.mpg.biochem.mars.n5.MarsN5ViewerReaderFun;
import de.mpg.biochem.mars.n5.MarsSingleTimePointN5Source;
import de.mpg.biochem.mars.metadata.MarsBdvSource;
import de.mpg.biochem.mars.metadata.MarsMetadata;
Expand Down Expand Up @@ -152,7 +153,7 @@ private Source<T> loadN5Source(MarsBdvSource source, MarsMetadata meta)
reader = n5Readers.get(source.getPath());
}
else {
reader = new N5Importer.N5ViewerReaderFun().apply(source.getPath());
reader = new MarsN5ViewerReaderFun().apply(source.getPath());
n5Readers.put(source.getPath(), reader);
}

Expand Down

0 comments on commit cb78487

Please sign in to comment.