I am trying to read the attached dataset with zarrread, but get the following error:
Error using ZarrPy>readZarr (line 104)
Python Error: TypeError: 'int' object is not iterable
Error in zarrread (line 36)
data = zarrObj.read(options.Start, options.Count, options.Stride);
Error in io.backend.ZarrBackend/processDatasetInfo (line 31)
datasetValue = zarrread(datasetPath);
The issue seems to be here:
|
slices = tuple(slice(start, end, stride) for start, end, stride in zip(starts, ends, strides)) |
Where that line fails if start, end and stride values are integers (as they are if the dataset is scalar).
Dataset: starting_time.zip
MATLAB Release: MATLAB R2024b
I am trying to read the attached dataset with
zarrread, but get the following error:The issue seems to be here:
MATLAB-support-for-Zarr-files/PythonModule/ZarrPy.py
Line 104 in 50c4950
Where that line fails if
start,endandstridevalues are integers (as they are if the dataset is scalar).Dataset: starting_time.zip
MATLAB Release: MATLAB R2024b