Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rly committed May 14, 2024
1 parent 2defaf8 commit adb67ff
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions lindi/LindiH5ZarrStore/LindiH5ZarrStore.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ def _get_chunk_file_bytes(self, key_parent: str, key_name: str):
if self._file is None:
raise Exception("Store is closed")
byte_offset, byte_count, inline_data = self._get_chunk_file_bytes_data(
key_parent, [key_name]
key_parent, key_name
)
if inline_data is not None:
return inline_data
Expand All @@ -354,11 +354,7 @@ def _get_chunk_file_bytes(self, key_parent: str, key_name: str):
)
return buf

def _get_chunk_file_bytes_data(
self,
key_parent: str,
key_name: str
):
def _get_chunk_file_bytes_data(self, key_parent: str, key_name: str):
if self._h5f is None:
raise Exception("Store is closed")
h5_item = self._h5f.get('/' + key_parent, None)
Expand Down

0 comments on commit adb67ff

Please sign in to comment.