diff --git a/src/components/visualizations/SearchTree.ts b/src/components/visualizations/SearchTree.ts index 6e964ff..374fdee 100644 --- a/src/components/visualizations/SearchTree.ts +++ b/src/components/visualizations/SearchTree.ts @@ -11,7 +11,7 @@ function constructSearchtree(t: NcbiTree, il: boolean, rerootCallback = (x: any) let that = {}, dataTree = t, data = t.root, - equateIL = il ? "equateIL" : ""; + equateIL = il ? "true" : "false"; let tree, items; @@ -126,13 +126,12 @@ function constructSearchtree(t: NcbiTree, il: boolean, rerootCallback = (x: any) $("span.clicked").removeClass("clicked"); $(this).addClass("clicked"); - infoPane .html(`

${(d as any).name} - (${(d as any).rank}) + (${(d as any).extra.rank})

`); $("#tree_data").css({ @@ -144,7 +143,7 @@ function constructSearchtree(t: NcbiTree, il: boolean, rerootCallback = (x: any) if (ownSequences && ownSequences.length > 0) { stringBuffer = "

Peptides specific for this taxon

"; infoPane.append(stringBuffer); @@ -158,7 +157,7 @@ function constructSearchtree(t: NcbiTree, il: boolean, rerootCallback = (x: any) if (allSequences && allSequences.length > 0 && allSequences.length !== (ownSequences ? ownSequences.length : 0)) { stringBuffer = "

Peptides specific to this taxon or its subtaxa

"; infoPane.append(stringBuffer);