Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
siibra-explorer
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Xiao Gui
siibra-explorer
Commits
60447c2a
Commit
60447c2a
authored
4 years ago
by
Xiao Gui
Browse files
Options
Downloads
Patches
Plain Diff
hotfix: temporarily disable colin 27
parent
5cd97c37
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
docs/releases/v2.3.5.md
+5
-0
5 additions, 0 deletions
docs/releases/v2.3.5.md
src/res/ext/atlas/atlas_multiLevelHuman.json
+0
-28
0 additions, 28 deletions
src/res/ext/atlas/atlas_multiLevelHuman.json
src/ui/parcellationRegion/region.base.ts
+10
-2
10 additions, 2 deletions
src/ui/parcellationRegion/region.base.ts
with
15 additions
and
30 deletions
docs/releases/v2.3.5.md
0 → 100644
+
5
−
0
View file @
60447c2a
# v2.3.5
## Under the hood stuff
-
Temporarily disable Colin 27 template.
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/res/ext/atlas/atlas_multiLevelHuman.json
+
0
−
28
View file @
60447c2a
...
@@ -51,20 +51,6 @@
...
@@ -51,20 +51,6 @@
}
}
]
]
},
},
{
"@id"
:
"minds/core/referencespace/v1.0.0/7f39f7be-445b-47c0-9791-e971c0b6d992"
,
"name"
:
"MNI Colin 27"
,
"availableIn"
:
[
{
"@id"
:
"minds/core/parcellationatlas/v1.0.0/94c1125b-b87e-45e4-901c-00daee7f2579-25"
,
"name"
:
"Cytoarchitectonic maps - v2.5"
},
{
"@id"
:
"juelich/iav/atlas/v1.0.0/8"
,
"name"
:
"Cytoarchitectonic Maps - v1.18"
}
]
},
{
{
"@id"
:
"minds/core/referencespace/v1.0.0/a1655b99-82f1-420f-a3c2-fe80fd4c8588"
,
"@id"
:
"minds/core/referencespace/v1.0.0/a1655b99-82f1-420f-a3c2-fe80fd4c8588"
,
"name"
:
"Big Brain (Histology)"
,
"name"
:
"Big Brain (Histology)"
,
...
@@ -102,13 +88,6 @@
...
@@ -102,13 +88,6 @@
"originalDatasetFormats"
:
[{
"originalDatasetFormats"
:
[{
"name"
:
"probability map"
"name"
:
"probability map"
}]
}]
},
{
"@id"
:
"minds/core/referencespace/v1.0.0/7f39f7be-445b-47c0-9791-e971c0b6d992"
,
"name"
:
"MNI Colin 27"
,
"originalDatasetFormats"
:
[{
"name"
:
"probability map"
}]
}
}
]
]
},
},
...
@@ -146,13 +125,6 @@
...
@@ -146,13 +125,6 @@
"originalDatasetFormats"
:
[{
"originalDatasetFormats"
:
[{
"name"
:
"probability map"
"name"
:
"probability map"
}]
}]
},
{
"@id"
:
"minds/core/referencespace/v1.0.0/7f39f7be-445b-47c0-9791-e971c0b6d992"
,
"name"
:
"MNI Colin 27"
,
"originalDatasetFormats"
:
[{
"name"
:
"probability map"
}]
}
}
]
]
},
},
...
...
This diff is collapsed.
Click to expand it.
src/ui/parcellationRegion/region.base.ts
+
10
−
2
View file @
60447c2a
...
@@ -257,9 +257,11 @@ export class RenderViewOriginDatasetLabelPipe implements PipeTransform{
...
@@ -257,9 +257,11 @@ export class RenderViewOriginDatasetLabelPipe implements PipeTransform{
}
}
export
const
regionInOtherTemplateSelector
=
createSelector
(
export
const
regionInOtherTemplateSelector
=
createSelector
(
viewerStateGetSelectedAtlas
,
viewerStateFetchedTemplatesSelector
,
viewerStateFetchedTemplatesSelector
,
viewerStateSelectedTemplateSelector
,
viewerStateSelectedTemplateSelector
,
(
fetchedTemplates
,
templateSelected
,
prop
)
=>
{
(
atlas
,
fetchedTemplates
,
templateSelected
,
prop
)
=>
{
const
atlasTemplateSpacesIds
=
atlas
.
templateSpaces
.
map
(({
[
'
@id
'
]:
id
})
=>
id
)
const
{
region
:
regionOfInterest
}
=
prop
const
{
region
:
regionOfInterest
}
=
prop
const
returnArr
=
[]
const
returnArr
=
[]
...
@@ -268,7 +270,13 @@ export const regionInOtherTemplateSelector = createSelector(
...
@@ -268,7 +270,13 @@ export const regionInOtherTemplateSelector = createSelector(
const
regionOfInterestId
=
getIdFromFullId
(
regionOfInterest
.
fullId
)
const
regionOfInterestId
=
getIdFromFullId
(
regionOfInterest
.
fullId
)
if
(
!
templateSelected
)
return
[]
if
(
!
templateSelected
)
return
[]
const
selectedTemplateId
=
getIdFromFullId
(
templateSelected
.
fullId
)
const
selectedTemplateId
=
getIdFromFullId
(
templateSelected
.
fullId
)
const
otherTemplates
=
fetchedTemplates
.
filter
(({
fullId
})
=>
getIdFromFullId
(
fullId
)
!==
selectedTemplateId
)
// need to ensure that the templates are defined in atlas definition
// atlas is the single source of truth
const
otherTemplates
=
fetchedTemplates
.
filter
(({
fullId
})
=>
getIdFromFullId
(
fullId
)
!==
selectedTemplateId
)
.
filter
(({
[
'
@id
'
]:
id
})
=>
atlasTemplateSpacesIds
.
includes
(
id
))
for
(
const
template
of
otherTemplates
)
{
for
(
const
template
of
otherTemplates
)
{
for
(
const
parcellation
of
template
.
parcellations
)
{
for
(
const
parcellation
of
template
.
parcellations
)
{
const
flattenedRegions
=
flattenRegions
(
parcellation
.
regions
)
const
flattenedRegions
=
flattenRegions
(
parcellation
.
regions
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment