diff --git a/src/atlasComponents/sapi/sapi.service.ts b/src/atlasComponents/sapi/sapi.service.ts index 06c6808eaf4a88a75884fff18fae7d2827deebeb..7959d63fbd7715d7be672d626e02ffaa77d68100 100644 --- a/src/atlasComponents/sapi/sapi.service.ts +++ b/src/atlasComponents/sapi/sapi.service.ts @@ -515,11 +515,11 @@ export class SAPI{ const map = await this.getLabelledMap(parcellation, template) for (const regionname in map.indices) { - if (parcellation.id === IDS.PARCELLATION.CORTICAL_LAYERS) { - if (regionname.includes("left") || regionname.includes("right")) { - continue - } - } + // if (parcellation.id === IDS.PARCELLATION.CORTICAL_LAYERS) { + // if (regionname.includes("left") || regionname.includes("right")) { + // continue + // } + // } for (const { volume: volumeIdx, fragment, label } of map.indices[regionname]) { const { providedVolumes } = map.volumes[volumeIdx] if (!("neuroglancer/precomputed" in providedVolumes)) { diff --git a/src/atlasComponents/sapi/translateV3.ts b/src/atlasComponents/sapi/translateV3.ts index 79775ba84f4ca64aa8a03169373ed1049a487c92..e92c14d9fe61a46e14b7bb4be99a1541c8e39ec8 100644 --- a/src/atlasComponents/sapi/translateV3.ts +++ b/src/atlasComponents/sapi/translateV3.ts @@ -287,17 +287,7 @@ class TranslateV3 { segLayerSpec.layer.labelIndicies.push(label) segLayerSpec.region.push(region) } - const { ['@id']: mapId } = map for (const regionname in map.indices) { - /** - * temporary fix - * see https://github.com/FZJ-INM1-BDA/siibra-python/issues/317 - */ - if (mapId === "siibra-map-v0.0.1_bigbrain-cortical-labelled") { - if (regionname.includes("left") || regionname.includes("right")) { - continue - } - } for (const index of map.indices[regionname]) { const { volume:volumeIdx=0, fragment, label } = index if (!label) {