-
-
Notifications
You must be signed in to change notification settings - Fork 373
Basic Zarr-python 2.x compatibility changes #2098
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
Changes from 1 commit
0c8e7f7
fa9e51d
8fdb605
0ac17cc
be2b3cd
94933b3
44ad6c7
08e7f3c
f937468
784cb28
b01e61c
c519fbe
46c2c11
1933f57
36a2ceb
1ae1cfd
9f5429f
a5ad0ca
3d04845
b710c64
0ab29d1
aa1e3bc
fb4bb85
1cc84ab
559399e
16bad38
f7f8457
56431fe
b13dee3
348aed8
2327141
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| import zarr.core | ||
| import zarr.core.attributes | ||
| import zarr.store | ||
|
|
||
|
|
||
| def test_put(): | ||
|
||
| store = zarr.store.MemoryStore({}, mode="w") | ||
| attrs = zarr.core.attributes.Attributes( | ||
| zarr.Group.from_store(store, attributes={"a": 1, "b": 2}) | ||
| ) | ||
| attrs.put({"a": 3, "c": 4}) | ||
| expected = {"a": 3, "c": 4} | ||
| assert dict(attrs) == expected | ||
Uh oh!
There was an error while loading. Please reload this page.