Skip to content

Commit d55d2a0

Browse files
committed
Update
1 parent 18b73a6 commit d55d2a0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/vitessce/widget.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -487,6 +487,7 @@ def __init__(self, config, height=600, theme='auto', uid=None, port=None, proxy=
487487
:param str custom_js_url: A URL to a JavaScript file to use (instead of 'vitessce' or '@vitessce/dev' NPM package).
488488
:param list[WidgetPlugin] plugins: A list of subclasses of VitesscePlugin. Optional.
489489
:param bool remount_on_uid_change: Passed to the remountOnUidChange prop of the <Vitessce/> React component. By default, True.
490+
:param bool prefer_local: Should local data be preferred (only applies to `*_artifact` data objects)? By default, True.
490491
:param int invoke_timeout: The timeout in milliseconds for invoking Python functions from JavaScript. By default, 30000.
491492
492493
.. code-block:: python

src/vitessce/wrappers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def try_getting_artifact_stores(self):
131131
artifact_stores = dict()
132132
for artifact_url, artifact in self.artifacts.items():
133133
local_path = artifact._local_filepath
134-
if os.path.isdir(local_path):
134+
if local_path is not None and os.path.isdir(local_path):
135135
store = zarr.DirectoryStore(local_path)
136136
artifact_stores[artifact_url] = store
137137
return artifact_stores

0 commit comments

Comments
 (0)