Skip to content

Commit

Permalink
show trait group in autocorrect (#787)
Browse files Browse the repository at this point in the history
  • Loading branch information
moriondo2022 authored Nov 19, 2024
1 parent b320909 commit e1380d1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/views/PIGEAN/Phenotype/Template.vue
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@
@click="$parent.setSelectedPhenotype(item)"
v-html="item.phenotype_name"
></a>
<span class="trait-group"> ({{
$parent.traitGroups[item.trait_group] }})</span>
</li>
</template>
</ul>
Expand Down Expand Up @@ -302,4 +304,7 @@
.b-tooltip {
color: green !important;
}
span.trait-group{
color: #495057;
}
</style>
5 changes: 5 additions & 0 deletions src/views/PIGEAN/Phenotype/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ new Vue({
return {
plotColors: plotUtils.plotColors(),
pigeanPhenotypeMap: "",
traitGroups: {
portal: "A2F",
gcat_trait:"GWAS Catalog",
rare_v2: "Orphanet"
},
phewasPlotLabel: "",
phenotypeSearchKey: null,
newPhenotypeSearchKey: null,
Expand Down

0 comments on commit e1380d1

Please sign in to comment.