Skip to content

Commit

Permalink
chore: update n5-ij and n5-universe deps
Browse files Browse the repository at this point in the history
* fix a test
* add n5-google-cloud and n5-aws-s3 deps
  • Loading branch information
bogovicj committed May 2, 2024
1 parent 2f95dea commit bd347c6
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
14 changes: 12 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@

<n5.version>3.2.0</n5.version>
<n5-hdf5.version>2.2.0</n5-hdf5.version>
<n5-ij.version>4.1.1</n5-ij.version>
<n5-universe.version>1.4.1</n5-universe.version>
<n5-ij.version>4.1.3</n5-ij.version>
<n5-universe.version>1.4.3</n5-universe.version>
<n5-zstandard.version>1.0.2</n5-zstandard.version>
<n5-zarr.version>1.3.1</n5-zarr.version>
<bigdataviewer-core.version>10.4.13</bigdataviewer-core.version>
Expand Down Expand Up @@ -192,6 +192,16 @@
<artifactId>alphanumeric-comparator</artifactId>
<version>${alphanumeric-comparator.version}</version>
</dependency>
<dependency>
<groupId>org.janelia.saalfeldlab</groupId>
<artifactId>n5-google-cloud</artifactId>
<version>4.1.0</version>
</dependency>
<dependency>
<groupId>org.janelia.saalfeldlab</groupId>
<artifactId>n5-aws-s3</artifactId>
<version>4.1.2</version>
</dependency>
</dependencies>

<repositories>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
import java.io.IOException;
import java.util.Optional;

import org.janelia.saalfeldlab.n5.DatasetAttributes;
import org.janelia.saalfeldlab.n5.N5FSWriter;
import org.janelia.saalfeldlab.n5.RawCompression;
import org.janelia.saalfeldlab.n5.imglib2.N5Utils;
Expand Down Expand Up @@ -72,6 +73,7 @@ public void before() {
// write 6d
final String dataset6d = testBaseDatasetName + "/img6d";
N5Utils.save(img6d, n5, dataset6d, new int[]{17, 17, 17, 17, 17, 17}, new RawCompression());
final DatasetAttributes dsetAttrs = n5.getDatasetAttributes(dataset6d);

// cosem
final String datasetCosem = testBaseDatasetName + "/cosem";
Expand All @@ -82,7 +84,7 @@ public void before() {
new double[]{2, 3, 4},
new double[]{-1, -2, -3},
new String[]{"um", "um", "um"}),
null);
dsetAttrs);
final N5CosemMetadataParser pcosem = new N5CosemMetadataParser();

N5Utils.save(img, n5, datasetCosem, new int[]{7, 7, 7}, new RawCompression());
Expand Down

0 comments on commit bd347c6

Please sign in to comment.