Skip to content
This repository has been archived by the owner on Oct 24, 2024. It is now read-only.

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 4, 2024
1 parent b6cfcdf commit f9c93cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions datatree/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ def _open_datatree_netcdf(filename: str, **kwargs) -> DataTree:

def _open_datatree_zarr(store, **kwargs) -> DataTree:
import zarr # type: ignore

zds = zarr.open_group(store, mode="r")
ds = open_zarr(store, **kwargs)
tree_root = DataTree.from_dict({"/": ds})
Expand Down

0 comments on commit f9c93cb

Please sign in to comment.