You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/Users/ivan.ivanov/Documents/GitHub/iohub/debug.py", line 6, in <module>
ds.create_position('s', '1', '0')
File "/Users/ivan.ivanov/Documents/GitHub/iohub/iohub/ngff/nodes.py", line 1614, in create_position
well = self.create_well(
File "/Users/ivan.ivanov/Documents/GitHub/iohub/iohub/ngff/nodes.py", line 1559, in create_well
row_grp = self.zgroup.create_group(
File "/Users/ivan.ivanov/miniconda3/envs/iohub/lib/python3.10/site-packages/zarr/hierarchy.py", line 978, in create_group
return self._write_op(self._create_group_nosync, name, overwrite=overwrite)
File "/Users/ivan.ivanov/miniconda3/envs/iohub/lib/python3.10/site-packages/zarr/hierarchy.py", line 952, in _write_op
return f(*args, **kwargs)
File "/Users/ivan.ivanov/miniconda3/envs/iohub/lib/python3.10/site-packages/zarr/hierarchy.py", line 984, in _create_group_nosync
init_group(self._store, path=path, chunk_store=self._chunk_store, overwrite=overwrite)
File "/Users/ivan.ivanov/miniconda3/envs/iohub/lib/python3.10/site-packages/zarr/storage.py", line 682, in init_group
_init_group_metadata(store=store, overwrite=overwrite, path=path, chunk_store=chunk_store)
File "/Users/ivan.ivanov/miniconda3/envs/iohub/lib/python3.10/site-packages/zarr/storage.py", line 727, in _init_group_metadata
raise ContainsGroupError(path)
zarr.errors.ContainsGroupError: path 's' contains a group
It seem like zarr (or the OS) does make a distinction between S and s. This is causing problems in #252
The text was updated successfully, but these errors were encountered:
@ziw-liu how do you suggest we fix this issue? Does ome-zarr recommend one or the other? Should we stick to only lower or upper case row/column names? Or at least enforce consistent lower/upper case names?
The NGFF v0.4 specification states that row and column names 'MUST be case-sensitive'. Although the Zarr specification v2 does not say anything about case, v3 does state that node names are case-sensitive.
However, Windows and macOS paths are case-insensitive by default. I think a warning when creating potentially confusing paths and limiting the test examples is better than the hidden str.lower() done in #254.
create_position
fails with following example:throwing error:
It seem like
zarr
(or the OS) does make a distinction betweenS
ands
. This is causing problems in #252The text was updated successfully, but these errors were encountered: