Skip to content

Commit 72fb559

Browse files
committed
fixup
1 parent 64b9371 commit 72fb559

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/zarr/store/common.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ def __eq__(self, other: Any) -> bool:
8282
async def make_store_path(
8383
store_like: StoreLike | None,
8484
*,
85-
path: str | None = None,
8685
mode: AccessModeLiteral | None = None,
8786
storage_options: dict[str, Any] | None = None,
8887
) -> StorePath:
@@ -105,7 +104,7 @@ async def make_store_path(
105104
result = StorePath(await LocalStore.open(root=store_like, mode=mode or "r"))
106105
elif isinstance(store_like, str):
107106
storage_options = storage_options or {}
108-
fs, path = fsspec.url_to_fs(store_like, **storage_options)
107+
fs, _ = fsspec.url_to_fs(store_like, **storage_options)
109108
if "file" not in fs.protocol:
110109
storage_options = storage_options or {}
111110
result = StorePath(RemoteStore(url=store_like, mode=mode or "r", **storage_options))
@@ -118,8 +117,6 @@ async def make_store_path(
118117
else:
119118
raise TypeError
120119

121-
if path is not None:
122-
result = result / path
123120
return result
124121

125122

0 commit comments

Comments
 (0)