Skip to content
Snippets Groups Projects
Unverified Commit 840845ce authored by Xiao Gui's avatar Xiao Gui
Browse files

maint: remove fix of cort prof map

parent 43c918d5
No related branches found
No related tags found
No related merge requests found
......@@ -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)) {
......
......@@ -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) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment