diff --git a/pom.xml b/pom.xml index f219f7d..ff844fd 100644 --- a/pom.xml +++ b/pom.xml @@ -116,8 +116,10 @@ 3.2.0 4.1.0 1.3.1 + 2.2.0 4.1.1 - 1.4.1 + 5.0.0 + 1.4.3 4.1.1 10.4.13 1.0.0-beta-34 diff --git a/src/test/java/org/embl/mobie/io/OMEZarrWriterTest.java b/src/test/java/org/embl/mobie/io/OMEZarrWriterTest.java index 6dfdbd9..dff1e13 100644 --- a/src/test/java/org/embl/mobie/io/OMEZarrWriterTest.java +++ b/src/test/java/org/embl/mobie/io/OMEZarrWriterTest.java @@ -4,21 +4,25 @@ import ij.ImagePlus; import org.embl.mobie.io.imagedata.ImageData; import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.io.TempDir; + +import java.nio.file.Path; + import static org.junit.jupiter.api.Assertions.*; class OMEZarrWriterTest { @Test - public void writeAndReadOMEZarr() + public void writeAndReadOMEZarr(@TempDir Path tempDir) { ImagePlus imp = IJ.createImage( "test", "8-bit ramp", 186, 226, 27 ); - String uri = "src/test/tmp/test.zarr/image"; + String uri = tempDir.resolve("test.zarr").toString(); OMEZarrWriter.write( imp, uri, OMEZarrWriter.ImageType.Intensities, - true ); + false ); ImageData< ? > imageData = ImageDataOpener.open( uri );