Skip to content

Commit da22eef

Browse files
committed
Linting
1 parent d837659 commit da22eef

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/vitessce/widget.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ def get_uid_str(uid):
179179
const passthroughIndex = pathSegments.indexOf('passthrough');
180180
if (passthroughIndex !== -1) {
181181
proxyPath = pathSegments.slice(0, passthroughIndex + 3).join('/');
182-
}
182+
}
183183
}
184184
const jupyterLabConfigEl = document.getElementById('jupyter-config-data');
185185
let baseUrl;
@@ -189,25 +189,25 @@ def get_uid_str(uid):
189189
} else {
190190
// This is jupyter notebook
191191
baseUrl = document.getElementsByTagName('body')[0].getAttribute('data-base-url');
192-
}
192+
}
193193
return {
194194
...config,
195195
datasets: config.datasets.map(d => ({
196196
...d,
197197
files: d.files.map(f => {
198198
// Checks to handle different scenarios of urls presented in workspaces and otherwise, i.e., local vs. remote
199199
// For regular urls
200-
let constructedUrl = f.url
201-
// if in workspaces, only local data is accessed
200+
let constructedUrl = f.url;
201+
// if in workspaces, only local data is accessed
202202
if (isInWorkspaces && f.url.startsWith(WORKSPACES_URL_KEYWORD)){
203-
constructedUrl = `${proxyPath}${baseUrl}${f.url}`
203+
constructedUrl = `${proxyPath}${baseUrl}${f.url}`;
204204
}
205205
else if (isInWorkspaces && !f.url.startsWith(WORKSPACES_URL_KEYWORD)){
206-
constructedUrl = f.url
206+
constructedUrl = f.url;
207207
}
208208
// if local data is accessed in the notebook
209209
else if (f.url.startsWith('proxy')) {
210-
constructedUrl = `${origin}${baseUrl}${f.url}`
210+
constructedUrl = `${origin}${baseUrl}${f.url}`;
211211
}
212212
return {
213213
...f,

0 commit comments

Comments
 (0)