Skip to content

Commit 775811d

Browse files
authored
Update util.py
1 parent abc82cb commit 775811d

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

malariagen_data/util.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,6 @@ def _init_filesystem(url, **kwargs):
430430
"""Initialise a fsspec filesystem from a given base URL and parameters."""
431431

432432
storage_options = None # To prevent using before assignment (Pylint).
433-
simplecache_options = kwargs.pop("simplecache", None)
434433

435434
# Special case Google Cloud Storage, authenticate the user.
436435
if "gs://" in url or "gcs://" in url:
@@ -488,12 +487,6 @@ def _init_filesystem(url, **kwargs):
488487
# Some other kind of URL, pass through kwargs as-is.
489488
storage_options = kwargs
490489

491-
if simplecache_options is not None:
492-
storage_options["simplecache"] = simplecache_options
493-
494-
# Process the URL using fsspec.
495-
fs, path = url_to_fs(url, **storage_options)
496-
497490
# Path compatibility, fsspec/gcsfs behaviour varies between versions.
498491
while path.endswith("/"):
499492
path = path[:-1]

0 commit comments

Comments
 (0)