From b102f2e3092f620a6e23f80061b547d362200548 Mon Sep 17 00:00:00 2001 From: Stephan Preibisch Date: Sat, 12 Oct 2024 11:12:04 -0400 Subject: [PATCH] less verbose N5 init, only sysout when credentials failed --- src/main/java/util/URITools.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/util/URITools.java b/src/main/java/util/URITools.java index 30211eee..a2cddb54 100644 --- a/src/main/java/util/URITools.java +++ b/src/main/java/util/URITools.java @@ -203,7 +203,7 @@ else if ( format.equals( StorageFormat.HDF5 )) try { - System.out.println( "Trying writing with credentials ..." ); + //System.out.println( "Trying writing with credentials ..." ); N5Factory factory = new N5Factory(); factory.s3UseCredentials(); n5w = factory.openWriter( format, uri ); @@ -237,7 +237,7 @@ else if ( format.equals( StorageFormat.ZARR )) try { - System.out.println( "Trying reading with credentials ..." ); + //System.out.println( "Trying reading with credentials ..." ); N5Factory factory = new N5Factory(); factory.s3UseCredentials(); n5r = factory.openReader( format, uri ); @@ -270,7 +270,7 @@ else if ( uri.toString().toLowerCase().endsWith( ".n5" ) ) try { - System.out.println( "Trying reading with credentials ..." ); + //System.out.println( "Trying reading with credentials ..." ); N5Factory factory = new N5Factory(); factory.s3UseCredentials(); n5r = factory.openReader( uri.toString() ); @@ -303,7 +303,7 @@ else if ( uri.toString().toLowerCase().endsWith( ".n5" ) ) try { - System.out.println( "Trying writing with credentials ..." ); + //System.out.println( "Trying writing with credentials ..." ); N5Factory factory = new N5Factory(); factory.s3UseCredentials(); n5w = factory.openWriter( uri.toString() );