From 0adc3cb1abb7433f7ce007a8992af73fd895a529 Mon Sep 17 00:00:00 2001 From: mavaylon1 Date: Wed, 30 Oct 2024 17:54:29 -0700 Subject: [PATCH] clean up for review --- src/hdmf_zarr/backend.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/hdmf_zarr/backend.py b/src/hdmf_zarr/backend.py index 822404f1..a11240a6 100644 --- a/src/hdmf_zarr/backend.py +++ b/src/hdmf_zarr/backend.py @@ -754,7 +754,6 @@ def resolve_ref(self, zarr_ref): source_file = str(zarr_ref['source']) # Resolve the path relative to the current file if not self.is_remote(): - # source_file = os.path.abspath(os.path.join(self.source, source_file)) source_file = os.path.abspath(source_file) else: # get rid of extra "/" and "./" in the path root and source_file @@ -1419,7 +1418,7 @@ def __read_group(self, zarr_obj, name=None): name = str(os.path.basename(zarr_obj.name)) # Note: The source should be from the zarr object and not assumed to be - # from the file being read. + # from the file being read. if isinstance(zarr_obj.store, ConsolidatedMetadataStore): source = zarr_obj.store.store.path else: