Skip to content

Commit

Permalink
fix: rm main
Browse files Browse the repository at this point in the history
  • Loading branch information
bogovicj committed Dec 13, 2024
1 parent 14a0de4 commit b003042
Showing 1 changed file with 0 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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<OmeNgffMetadata> meta = parser.parseMetadata(zarr, "");
// System.out.println(meta.isPresent());
// if(meta.isPresent()) {
// System.out.println(meta.get());
// }

}

}

0 comments on commit b003042

Please sign in to comment.