-
-
Notifications
You must be signed in to change notification settings - Fork 364
Prevent mode='r+' from creating new directories #3307
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
d84eada
to
ee21ccf
Compare
8ddf8d4
to
9342439
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3307 +/- ##
=======================================
Coverage 94.69% 94.70%
=======================================
Files 79 79
Lines 9520 9532 +12
=======================================
+ Hits 9015 9027 +12
Misses 505 505
🚀 New features to boost your workflow:
|
this works but I find the logic hard to follow. I think that's a side effect of our failure to distinguish two separate things:
these are technically two separate permissions, but for zarr purposes, 2 implies 1. We need to formalize these differences higher up in the store permissions model I think. |
Owee, I'm MrMeeseeks, Look at me. There seem to be a conflict, please backport manually. Here are approximate instructions:
And apply the correct labels and milestones. Congratulations — you did some good work! Hopefully your backport PR will be tested by the continuous integration and merged soon! Remember to remove the If these instructions are inaccurate, feel free to suggest an improvement. |
Fixes #3295. I'm not sure if I came up with the most elegant solution, but I couldn't think of a way to solve this without passing the mode to
LocalStore.open()
. Other suggestions very welcome if anyone has any better ideas?