Skip to content
Snippets Groups Projects
Commit 23a7b0f8 authored by Alexander Rose's avatar Alexander Rose
Browse files

fix emd id case for volume streaming

parent ea2b12fb
No related branches found
No related tags found
No related merge requests found
...@@ -99,7 +99,7 @@ export namespace VolumeStreaming { ...@@ -99,7 +99,7 @@ export namespace VolumeStreaming {
channels: Channels = {} channels: Channels = {}
private async queryData(box?: Box3D) { private async queryData(box?: Box3D) {
let url = urlCombine(this.info.serverUrl, `${this.info.kind}/${this.info.dataId}`); let url = urlCombine(this.info.serverUrl, `${this.info.kind}/${this.info.dataId.toLowerCase()}`);
if (box) { if (box) {
const { min: a, max: b } = box; const { min: a, max: b } = box;
......
...@@ -115,7 +115,7 @@ const CreateVolumeStreamingInfo = PluginStateTransform.BuiltIn({ ...@@ -115,7 +115,7 @@ const CreateVolumeStreamingInfo = PluginStateTransform.BuiltIn({
const dataId = params.dataId; const dataId = params.dataId;
const emDefaultContourLevel = params.source.name === 'em' ? params.source.params.isoValue : VolumeIsoValue.relative(1); const emDefaultContourLevel = params.source.name === 'em' ? params.source.params.isoValue : VolumeIsoValue.relative(1);
await taskCtx.update('Getting server header...'); await taskCtx.update('Getting server header...');
const header = await plugin.fetch<VolumeServerHeader>({ url: urlCombine(params.serverUrl, `${params.source.name}/${dataId}`), type: 'json' }).runInContext(taskCtx); const header = await plugin.fetch<VolumeServerHeader>({ url: urlCombine(params.serverUrl, `${params.source.name}/${dataId.toLocaleLowerCase()}`), type: 'json' }).runInContext(taskCtx);
const data: VolumeServerInfo.Data = { const data: VolumeServerInfo.Data = {
serverUrl: params.serverUrl, serverUrl: params.serverUrl,
dataId, dataId,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment