Skip to content

Commit

Permalink
remove support of tiled- prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
t20100 committed May 13, 2024
1 parent 0d262bd commit 1eb387c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions src/silx/io/tiledh5.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,6 @@ def __init__(
):
assert mode in ("r", None)
super().__init__(name, mode, attrs)
if name.startswith("tiled-http"):
name = name[6:]
self.__container = tiled.client.from_uri(name)
assert isinstance(self.__container, tiled.client.container.Container)

Expand Down
3 changes: 0 additions & 3 deletions src/silx/io/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -696,9 +696,6 @@ def open(filename): # pylint:disable=redefined-builtin
:raises: IOError if the file can't be loaded or path can't be found
:rtype: h5py-like node
"""
if filename.startswith("tiled-http") and TiledH5 is not None:
return TiledH5(filename)

url = DataUrl(filename)
if url.scheme() in ("http", "https"):
errors = [f"Failed to open {filename}"]
Expand Down

0 comments on commit 1eb387c

Please sign in to comment.