diff --git a/src/main/java/org/janelia/saalfeldlab/n5/universe/N5DatasetDiscoverer.java b/src/main/java/org/janelia/saalfeldlab/n5/universe/N5DatasetDiscoverer.java index 9ab3ef7..06c4d26 100644 --- a/src/main/java/org/janelia/saalfeldlab/n5/universe/N5DatasetDiscoverer.java +++ b/src/main/java/org/janelia/saalfeldlab/n5/universe/N5DatasetDiscoverer.java @@ -686,33 +686,5 @@ public static N5TreeNode discoverShallow(final N5Reader n5) { return discoverShallow(n5, "/"); } - public static void main(String[] args) throws IOException { - - final N5Reader zarr = new N5Factory().openReader("/home/john/tmp/mr.avg.ome.zarr"); -// final N5Reader zarr = new N5Factory() -// .openReader("https://storage.googleapis.com/jax-public-ngff/KOMP/adult_lacZ/ndp/Moxd1/23420_K35061_FGut.zarr"); - -// System.out.println(zarr); -// System.out.println(zarr.exists("")); - -// N5TreeNode root = N5DatasetDiscoverer.discoverShallow(zarr, "/"); -// System.out.println(root); -// System.out.println("metadata: " + root.getMetadata()); -// System.out.println(root.printRecursive()); - - N5TreeNode root = N5DatasetDiscoverer.discover(zarr); - System.out.println(root); - System.out.println("metadata: " + root.getMetadata()); - System.out.println(root.printRecursive()); - -// OmeNgffMetadataParser parser = new OmeNgffMetadataParser( true ); -// Optional meta = parser.parseMetadata(zarr, ""); -// System.out.println(meta.isPresent()); -// if(meta.isPresent()) { -// System.out.println(meta.get()); -// } - - } - }