diff --git a/bioio_ome_zarr/reader.py b/bioio_ome_zarr/reader.py index 0ef2612..b592414 100644 --- a/bioio_ome_zarr/reader.py +++ b/bioio_ome_zarr/reader.py @@ -263,6 +263,4 @@ def _get_coords( def get_zarr_reader(fs: AbstractFileSystem, path: str) -> ZarrReader: - if fs is not None: - return ZarrReader(ZarrLocation(zarr.storage.FSStore(url=path, fs=fs))) - return ZarrReader(parse_url(path, mode="r")) + return ZarrReader(ZarrLocation(zarr.storage.FSStore(url=path, fs=fs)))