Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "vitessce"
version = "3.7.5"
version = "3.7.6"
authors = [
{ name="Mark Keller", email="mark_keller@hms.harvard.edu" },
]
Expand Down
7 changes: 7 additions & 0 deletions src/vitessce/wrappers.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ def __init__(self, **kwargs):
self.routes = []
self.is_remote = False # TODO: change to needs_localhost_serving for clarity
self.is_store = False # TODO: change to needs_store_registration for clarity
self.is_zip = False
self.file_def_creators = []
self.base_dir = None
self.stores = {}
Expand Down Expand Up @@ -1326,6 +1327,12 @@ def make_routes(self, dataset_uid, obj_i):
*self.get_local_file_route(dataset_uid, obj_i, self._adata_path, self.local_file_uid),
*self.get_local_file_route(dataset_uid, obj_i, self._ref_path, self.local_ref_uid)
]
elif self.is_zip:
return [
# TODO: modify so that the .zip file extension is used
# (not necessary, but could help with debugging or with base_dir mode)
*self.get_local_file_route(dataset_uid, obj_i, self._adata_path, self.local_dir_uid)
]
else:
return self.get_local_dir_route(dataset_uid, obj_i, self._adata_path, self.local_dir_uid)

Expand Down