vitessce 3.5.5__py3-none-any.whl → 3.5.6__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- vitessce/widget.py +6 -13
- {vitessce-3.5.5.dist-info → vitessce-3.5.6.dist-info}/METADATA +1 -1
- {vitessce-3.5.5.dist-info → vitessce-3.5.6.dist-info}/RECORD +5 -5
- {vitessce-3.5.5.dist-info → vitessce-3.5.6.dist-info}/WHEEL +0 -0
- {vitessce-3.5.5.dist-info → vitessce-3.5.6.dist-info}/licenses/LICENSE +0 -0
vitessce/widget.py
CHANGED
|
@@ -175,7 +175,6 @@ function prependBaseUrl(config, proxy, hasHostName) {
|
|
|
175
175
|
}
|
|
176
176
|
const { origin, pathname } = new URL(window.location.href);
|
|
177
177
|
const isInWorkspaces = origin.startsWith(WORKSPACES_URL_KEYWORD);
|
|
178
|
-
|
|
179
178
|
const jupyterLabConfigEl = document.getElementById('jupyter-config-data');
|
|
180
179
|
|
|
181
180
|
let baseUrl;
|
|
@@ -183,7 +182,8 @@ function prependBaseUrl(config, proxy, hasHostName) {
|
|
|
183
182
|
const pathSegments = pathname.split('/');
|
|
184
183
|
const passthroughIndex = pathSegments.indexOf('passthrough');
|
|
185
184
|
if (passthroughIndex !== -1) {
|
|
186
|
-
baseUrl = pathSegments.slice(0, passthroughIndex +
|
|
185
|
+
baseUrl = pathSegments.slice(0, passthroughIndex + 3).join('/');
|
|
186
|
+
baseUrl += '/';
|
|
187
187
|
}
|
|
188
188
|
} else if (jupyterLabConfigEl) {
|
|
189
189
|
// This is jupyter lab
|
|
@@ -196,17 +196,10 @@ function prependBaseUrl(config, proxy, hasHostName) {
|
|
|
196
196
|
...config,
|
|
197
197
|
datasets: config.datasets.map(d => ({
|
|
198
198
|
...d,
|
|
199
|
-
files: d.files.map(f => {
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
f.url = f.url.replace('proxy', '');
|
|
204
|
-
}
|
|
205
|
-
return {
|
|
206
|
-
...f,
|
|
207
|
-
url: `${origin}${baseUrl}${f.url}`,
|
|
208
|
-
};
|
|
209
|
-
}),
|
|
199
|
+
files: d.files.map(f => ({
|
|
200
|
+
...f,
|
|
201
|
+
url: `${origin}${baseUrl}${f.url}`,
|
|
202
|
+
})),
|
|
210
203
|
})),
|
|
211
204
|
};
|
|
212
205
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: vitessce
|
|
3
|
-
Version: 3.5.
|
|
3
|
+
Version: 3.5.6
|
|
4
4
|
Summary: Jupyter widget facilitating interactive visualization of spatial single-cell data with Vitessce
|
|
5
5
|
Project-URL: repository, https://github.com/vitessce/vitessce-python
|
|
6
6
|
Author-email: Mark Keller <mark_keller@hms.harvard.edu>
|
|
@@ -7,7 +7,7 @@ vitessce/file_def_utils.py,sha256=RM9Hj1uwPY-Y37JLOHiKA_acGY40p8C9WsDk8iVjDz8,66
|
|
|
7
7
|
vitessce/repr.py,sha256=qMmefmZ3E-3sRVxeI5q1DTZnfuwbXKiA85eyqk5MCT4,2287
|
|
8
8
|
vitessce/routes.py,sha256=U8T-L-3QCD_tAbPF8LsUlSMhPWNbyzbLNUnxP9Z9s9o,2140
|
|
9
9
|
vitessce/utils.py,sha256=obzjj65qsagu60_yuhGc-0jmHO-BW0Y-bDs0FgrBqLY,981
|
|
10
|
-
vitessce/widget.py,sha256=
|
|
10
|
+
vitessce/widget.py,sha256=XngfJKODnUwvNJ8qM1nC10fvdZPzpj6MsG2duPaCnj0,31490
|
|
11
11
|
vitessce/wrappers.py,sha256=kVqXFcpbuIb8MtZQSB4F7k32JM8bwCgMBrOkcAAhmvc,74676
|
|
12
12
|
vitessce/data_utils/__init__.py,sha256=3mWi1lMjoj4_dNbhMOvyE-HEJu0qpMzcmkhfz_5T6n8,361
|
|
13
13
|
vitessce/data_utils/anndata.py,sha256=iLa5-bRezHgBzL_XCHO7w0pc0RQ4urzZbDsqJbBYeCk,10668
|
|
@@ -17,7 +17,7 @@ vitessce/data_utils/ome.py,sha256=aK-iGNgjUmUMsWgdZhW78VrtMBKMW_jIQDYnsupq6BE,54
|
|
|
17
17
|
vitessce/widget_plugins/__init__.py,sha256=lto2GXnc7KwjIoT-jvzyRYLj0XTJG3uxoX45Hc9EcWA,82
|
|
18
18
|
vitessce/widget_plugins/demo_plugin.py,sha256=14S7nOxdlKSxIHw9DUcNCN83NE_U1EMPy2D4k0FDues,1797
|
|
19
19
|
vitessce/widget_plugins/spatial_query.py,sha256=CYxvmMT1Je_jguikPROQxlegkPgIIzemKGbZSJfZMyI,12314
|
|
20
|
-
vitessce-3.5.
|
|
21
|
-
vitessce-3.5.
|
|
22
|
-
vitessce-3.5.
|
|
23
|
-
vitessce-3.5.
|
|
20
|
+
vitessce-3.5.6.dist-info/METADATA,sha256=GYRIA202oFik97MbgKsYZDgpXqo9CbxExdvrx3CRycs,9556
|
|
21
|
+
vitessce-3.5.6.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
22
|
+
vitessce-3.5.6.dist-info/licenses/LICENSE,sha256=sNNpI0PQ57AW8_XnTAjU5Yw8YBA_DRNkVHrHYpCIhRU,1067
|
|
23
|
+
vitessce-3.5.6.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|