diff --git a/src/hdmf_zarr/backend.py b/src/hdmf_zarr/backend.py index 6dc7dbe8..24954ae6 100644 --- a/src/hdmf_zarr/backend.py +++ b/src/hdmf_zarr/backend.py @@ -645,7 +645,7 @@ def resolve_ref(self, zarr_ref): # get rid of extra "/" and "./" in the path root and source_file root_path = str(self.path).rstrip("/") source_path = str(source_file).lstrip(".") - source_file = root_path + source_path + source_file = os.path.join(root_path, source_path) object_path = zarr_ref.get('path', None) if object_path: