Skip to content

Commit

Permalink
linter fix
Browse files Browse the repository at this point in the history
  • Loading branch information
magland committed Mar 18, 2024
1 parent 5f937ba commit 95fbf3c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lindi/LindiH5Store/_h5_filters_to_codecs.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# https://github.com/fsspec/kerchunk
# Copyright (c) 2020 Intake
# MIT License
def _h5_filters_to_codecs_kerchunk(h5obj: h5py.Dataset) -> Union[List[Codec], None]:
def _h5_filters_to_codecs(h5obj: h5py.Dataset) -> Union[List[Codec], None]:
"""Decode HDF5 filters to numcodecs filters."""
if h5obj.scaleoffset:
raise RuntimeError(
Expand Down
2 changes: 1 addition & 1 deletion lindi/LindiH5Store/_zarr_info_for_h5_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
import numcodecs
import h5py
from numcodecs.abc import Codec
from ._h5_filters_to_codecs import _h5_filters_to_codecs
from ._h5_attr_to_zarr_attr import _h5_ref_to_zarr_attr
from ._h5_filters_to_codecs import _h5_filters_to_codecs


@dataclass
Expand Down

0 comments on commit 95fbf3c

Please sign in to comment.