This removes trailing slashes (as would be present with --scale-format-string '%2$d/') so that the relative dataset path is not empty.
The associated test should fail without the change to Converter, and pass with it. Independent of the test, something like the command in #179 can be used:
Without this PR, in both cases the *.zarr/.zattrs should have empty path attributes on each of the datasets. With this PR, both commands should result in path being populated with something that exists relative to the .zattrs location.
Fixes #179.
This removes trailing slashes (as would be present with
--scale-format-string '%2$d/'
) so that the relative dataset path is not empty.The associated test should fail without the change to
Converter
, and pass with it. Independent of the test, something like the command in #179 can be used:Without this PR, in both cases the
*.zarr/.zattrs
should have emptypath
attributes on each of thedatasets
. With this PR, both commands should result inpath
being populated with something that exists relative to the.zattrs
location.