From adb67ff4d964b462c1598975d4e4ca545350044b Mon Sep 17 00:00:00 2001 From: rly Date: Mon, 13 May 2024 19:45:51 -0700 Subject: [PATCH] Fix --- lindi/LindiH5ZarrStore/LindiH5ZarrStore.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/lindi/LindiH5ZarrStore/LindiH5ZarrStore.py b/lindi/LindiH5ZarrStore/LindiH5ZarrStore.py index 0395779..899b9ec 100644 --- a/lindi/LindiH5ZarrStore/LindiH5ZarrStore.py +++ b/lindi/LindiH5ZarrStore/LindiH5ZarrStore.py @@ -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 @@ -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)