Skip to content

Commit

Permalink
Merge branch 'hdf5-array-adapter' into migration
Browse files Browse the repository at this point in the history
  • Loading branch information
genematx committed Feb 14, 2025
2 parents a0890f2 + 006f6fa commit 1a904d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tiled/adapters/hdf5.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def from_catalog(
)
dataset = kwargs.get("dataset") or kwargs.get("path") or []
if isinstance(dataset, str):
dataset = dataset.split('/')
dataset = dataset.strip("/").split('/')
for segment in dataset:
adapter = adapter.get(segment) # type: ignore
if adapter is None:
Expand Down

0 comments on commit 1a904d9

Please sign in to comment.