Skip to content

Commit 36c2a12

Browse files
committed
Fixed is_zip check
1 parent f852229 commit 36c2a12

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/vitessce/wrappers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1252,13 +1252,13 @@ def __init__(self, adata_path=None, adata_url=None, adata_store=None, adata_arti
12521252
self.is_remote = False
12531253
self.is_store = False
12541254
self.zarr_folder = 'anndata.zarr'
1255-
if is_zip and '.zip' in str(adata_path):
1255+
if is_zip is None and '.zip' in str(adata_path):
12561256
self.is_zip = True
12571257
elif adata_url is not None or adata_artifact is not None:
12581258
self.is_remote = True
12591259
self.is_store = False
12601260
self.zarr_folder = None
1261-
if is_zip and '.zip' in str(adata_url):
1261+
if is_zip is None and '.zip' in str(adata_url):
12621262
self.is_zip = True
12631263
# Store artifacts on AbstractWrapper.artifacts for downstream access,
12641264
# e.g. in lamindb.save_vitessce_config

0 commit comments

Comments
 (0)