Closed AIstudentSH closed 5 years ago
I am also getting the same error .. i am using zarr 2.2.0rc3
Writing zarr file... Traceback (most recent call last): File "/dccstor/cssblr/amrita/miniconda3/lib/python3.6/site-packages/zarr-2.2.0rc3-py3.6.egg/zarr/hierarchy.py", line 353, in getattr File "/dccstor/cssblr/amrita/miniconda3/lib/python3.6/site-packages/zarr-2.2.0rc3-py3.6.egg/zarr/hierarchy.py", line 334, in getitem KeyError: 'close'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "preprocess_image.py", line 138, in
In case anyone else is facing this issue, simply comment out dest.close()
at two places in the file. This is because zarr
no longer requires the object to be closed. https://zarr.readthedocs.io/en/stable/tutorial.html?highlight=close#persistent-arrays
hi, i've fixed this is the latest update @AIstudentSH @amritasaha1812
Traceback (most recent call last): File "preprocess_image.py", line 138, in
features_to_zarr(phase)
File "preprocess_image.py", line 100, in features_to_zarr
dest.close()
File "/usr/lib/python2.7/site-packages/zarr/hierarchy.py", line 355, in getattr
raise AttributeError
AttributeError