From 92e59e0e66dca5b734e92c9ae0679b741df9362c Mon Sep 17 00:00:00 2001 From: Xiao Gui <xgui3783@gmail.com> Date: Mon, 26 Jun 2023 12:06:56 +0200 Subject: [PATCH] feat: activate julich brain 3.0 colin surface map --- src/environments/environment.common.ts | 7 ++++++- src/viewerModule/nehuba/mesh.service/mesh.service.ts | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/environments/environment.common.ts b/src/environments/environment.common.ts index 75284adf0..98a9c4814 100644 --- a/src/environments/environment.common.ts +++ b/src/environments/environment.common.ts @@ -4,7 +4,12 @@ export const environment = { VERSION: 'unknown version', PRODUCTION: false, BACKEND_URL: null, - SIIBRA_API_ENDPOINTS: 'https://siibra-api-latest.apps-dev.hbp.eu/v3_0', //'https://siibra-api-stable.apps.hbp.eu/v2_0,https://siibra-api-stable.apps.jsc.hbp.eu/v2_0,https://siibra-api-stable-ns.apps.hbp.eu/v2_0', + // N.B. do not update the SIIBRA_API_ENDPOITNS directly + // some libraries rely on the exact string formatting to work properly + SIIBRA_API_ENDPOINTS: + // 'http://localhost:10081/v3_0', // endpoint-local-10081 + 'https://siibra-api-latest.apps-dev.hbp.eu/v3_0', //endpoint-latest + // 'https://siibra-api-stable.apps.hbp.eu/v3_0', // endpoint-stable SPATIAL_TRANSFORM_BACKEND: 'https://hbp-spatial-backend.apps.hbp.eu', MATOMO_URL: null, MATOMO_ID: null, diff --git a/src/viewerModule/nehuba/mesh.service/mesh.service.ts b/src/viewerModule/nehuba/mesh.service/mesh.service.ts index 2af102701..2654a1b30 100644 --- a/src/viewerModule/nehuba/mesh.service/mesh.service.ts +++ b/src/viewerModule/nehuba/mesh.service/mesh.service.ts @@ -139,7 +139,7 @@ export class NehubaMeshService implements OnDestroy { * TODO monkey patching jba29 in colin to show all meshes * */ - if (selectedParcellation.id === IDS.PARCELLATION.JBA29 && selectedTemplate.id === IDS.TEMPLATES.COLIN27) { + if ((selectedParcellation.id === IDS.PARCELLATION.JBA29 || IDS.PARCELLATION.JBA30 === selectedParcellation.id) && selectedTemplate.id === IDS.TEMPLATES.COLIN27) { return of(...allSegMesh) } const hasSegSelected = selectedSegMesh.some(v => v.labelIndicies.length !== 0) -- GitLab