Skip to content

Commit

Permalink
Update src/hdmf_zarr/backend.py
Browse files Browse the repository at this point in the history
  • Loading branch information
oruebel authored Nov 14, 2023
1 parent e6c32a2 commit 6f6418d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hdmf_zarr/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 6f6418d

Please sign in to comment.