Currently, N5Factory.openReader and likely openWriter will fail if URI's with query and/or fragments are passed.
N5Reader n5 = new N5Factory().openReader("my-container.n5?img#fragment");
fails with
Exception in thread "main" org.janelia.saalfeldlab.n5.N5Exception$N5IOException: No container exists at my-container.n5?img#fragment
at org.janelia.saalfeldlab.n5.N5KeyValueReader.<init>(N5KeyValueReader.java:144)
This just means code that calls it is responsible for providing only the container part. Alternatively, N5Factory could handle that itself, for example by using N5URI.getContainerPath
Currently,
N5Factory.openReaderand likelyopenWriterwill fail if URI's with query and/or fragments are passed.fails with
This just means code that calls it is responsible for providing only the container part. Alternatively, N5Factory could handle that itself, for example by using
N5URI.getContainerPath