Skip to content
Snippets Groups Projects
Commit a86327e4 authored by Xiao Gui's avatar Xiao Gui Committed by xgui3783
Browse files

plugin displayName, parcellation citations, temporarily disable infant

parent aff5a71d
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@ import { ViewerStateInterface, Property, FETCHED_METADATA } from "../services/st
export class AtlasViewerConstantsServices{
public templateUrls = [
'res/json/infant.json',
// 'res/json/infant.json',
'res/json/bigbrain.json',
'res/json/colin.json',
'res/json/MNI152.json',
......
{
"name" : "fzj.xg.webjugex",
"displayName":"JuGEx differential gene expression analysis",
"type" : "plugin",
"templateURL" : "http://localhost:10080/newWebJugex/template.html",
"scriptURL" : "http://localhost:10080/newWebJugex/script.js"
......
This diff is collapsed.
......@@ -47,6 +47,7 @@ export class NehubaContainer implements OnInit, OnDestroy{
private ngLayersRegister : NgViewerStateInterface = {layers : []}
private ngLayers$ : Observable<NgViewerStateInterface>
private selectedParcellationNgId : string
private selectedParcellation : any | null
private cr : ComponentRef<NehubaViewerUnit>
public nehubaViewer : NehubaViewerUnit
......@@ -414,6 +415,7 @@ export class NehubaContainer implements OnInit, OnDestroy{
this.nehubaViewer.regionsLabelIndexMap = this.regionsLabelIndexMap
this.nehubaViewer.parcellationId = parcellation.ngId
this.selectedParcellationNgId = parcellation.ngId
this.selectedParcellation = parcellation
}
private handleDedicatedView(dedicatedView:string){
......
......@@ -66,7 +66,12 @@
*ngIf = "viewerLoaded">
<div statusCard>
<!-- perhaps use a dedicated publication card next time (?) -->
<citations
*ngIf = "selectedParcellation.properties"
[properties] = "selectedParcellation.properties"
citationContainer>
</citations>
<citations
[properties] = "selectedTemplate.properties"
*ngIf = "showCitation"
......
......@@ -4,5 +4,5 @@
*ngFor = "let plugin of pluginServices.fetchedPluginManifests"
(click) = "clickPlugin(plugin)"
class = "btn btn-default btn-disabled">
{{ plugin.name }}
{{ plugin.displayName ? plugin.displayName : plugin.name }}
</div>
\ No newline at end of file
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