Mode 'r+' no longer fails if store doesn't exist with open_array
#2491
Labels
bug
Potential issues with the zarr-python library
open_array
#2491
Zarr version
v3.0.0-beta.2
Numcodecs version
0.14.0
Python Version
3.11
Operating System
Mac
Installation
pip
Description
Mode
r+
does not fail properly when the store doesn't exist, and will try to create the array when callingopen_array
. In the api doc for open it is defined as "means read/write (must exist)". This is a regression and was introduced in #2442.Steps to reproduce
This should fail with a
FileNotFoundError
and not try to create the store if it doesn't exist.Additional output
No response
The text was updated successfully, but these errors were encountered: