-
-
Notifications
You must be signed in to change notification settings - Fork 399
Expand file tree
/
Copy pathconvenience.py
More file actions
44 lines (39 loc) · 800 Bytes
/
convenience.py
File metadata and controls
44 lines (39 loc) · 800 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
"""
Convenience helpers.
!!! warning "Deprecated"
This sub-module is deprecated. All functions here are defined in the top level zarr namespace instead.
"""
import warnings
from zarr.api.synchronous import (
consolidate_metadata,
copy,
copy_all,
copy_store,
load,
open,
open_consolidated,
save,
save_array,
save_group,
tree,
)
from zarr.errors import ZarrDeprecationWarning
__all__ = [
"consolidate_metadata",
"copy",
"copy_all",
"copy_store",
"load",
"open",
"open_consolidated",
"save",
"save_array",
"save_group",
"tree",
]
warnings.warn(
"zarr.convenience is deprecated. "
"Import these functions from the top level zarr. namespace instead.",
ZarrDeprecationWarning,
stacklevel=2,
)