-
Notifications
You must be signed in to change notification settings - Fork 59
Description
The datasets/path field in the well metadata is currently constrained to alphanumeric characters only:
The
pathMUST contain only alphanumeric characters, MUST be case-sensitive, and MUST NOT be a duplicate of any otherpathin the images list.
However, some tools "in the wild" already allow using e.g. underscores (_) in the path field, see these issues:
- Disallow non-alphanumeric characters for suffix when creating new OME-Zarr groups fractal-analytics-platform/fractal-tasks-core#988
- Use alphanumeric suffix only m-albert/fractal-ome-zarr-hcs-stitching#31
Note that the multiscales specification doesn't currently impose such a constraint on the paths within a multiscales:
Each dictionary in "datasets" MUST contain the field "path", whose value contains the path to the array for this resolution relative to the current zarr group. The "path"s MUST be ordered from largest (i.e. highest resolution) to smallest.
How about relaxing the constraint to something like [A-Za-z0-9_] (i.e. regex \w which would simplify the regex in the json schema), or include even more commonly used characters?
(/cc @SabineReither)