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 6f6418d commit 68abbd0
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 @@ -643,7 +643,7 @@ def resolve_ref(self, zarr_ref):
source_file = os.path.abspath(os.path.join(self.source, source_file))
else:
# get rid of extra "/" and "./" in the path root and source_file
root_path = str(self.path).rstrip("/")
root_path = str(self.path).rstrip("/")
source_path = str(source_file).lstrip(".")
source_file = os.path.join(root_path, source_path)

Expand Down

0 comments on commit 68abbd0

Please sign in to comment.