From 413a90fe8c25b3912a792bc0e1a8f1f32029a325 Mon Sep 17 00:00:00 2001 From: Christian Tischer Date: Fri, 24 Nov 2023 18:19:59 +0100 Subject: [PATCH] Remove System.out.println(path + does not exist.) when .zarray are not present --- .../org/embl/mobie/io/ome/zarr/readers/N5OmeZarrReader.java | 2 +- .../org/embl/mobie/io/ome/zarr/readers/N5S3OmeZarrReader.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/embl/mobie/io/ome/zarr/readers/N5OmeZarrReader.java b/src/main/java/org/embl/mobie/io/ome/zarr/readers/N5OmeZarrReader.java index 70b82226..31ffe626 100644 --- a/src/main/java/org/embl/mobie/io/ome/zarr/readers/N5OmeZarrReader.java +++ b/src/main/java/org/embl/mobie/io/ome/zarr/readers/N5OmeZarrReader.java @@ -253,7 +253,7 @@ public ZArrayAttributes getZArrayAttributes(final String pathName) throws IOExce zArrayAttributes = gson.fromJson(reader, OmeZArrayAttributes.class); } } else { - System.out.println(path + " does not exist."); + //System.out.println(path + " does not exist."); } this.dimensionSeparator = zArrayAttributes == null || zArrayAttributes.getDimensionSeparator() == null ? DEFAULT_SEPARATOR : zArrayAttributes.getDimensionSeparator(); diff --git a/src/main/java/org/embl/mobie/io/ome/zarr/readers/N5S3OmeZarrReader.java b/src/main/java/org/embl/mobie/io/ome/zarr/readers/N5S3OmeZarrReader.java index 7c075007..8ea34160 100644 --- a/src/main/java/org/embl/mobie/io/ome/zarr/readers/N5S3OmeZarrReader.java +++ b/src/main/java/org/embl/mobie/io/ome/zarr/readers/N5S3OmeZarrReader.java @@ -198,7 +198,7 @@ public ZArrayAttributes getZArrayAttributes(final String pathName) throws IOExce HashMap attributes = readJson(path); if (attributes == null) { - System.out.println(path + " does not exist."); + //System.out.println(path + " does not exist."); attributes = new HashMap<>(); }