Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pigean search #815

Merged
merged 2 commits into from
Dec 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/views/PIGEAN/Index/Template.vue
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
Search for gene, geneset or phenotype
</h4>
<research-single-search
:single-search-config="$parent.config"
:single-search-config="$parent.altConfig"
:phenotypes="
$parent.phenotypesInSession
"
Expand Down
38 changes: 38 additions & 0 deletions src/views/PIGEAN/Index/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,44 @@ new Vue({
},
],
},
altConfig: {
"search instruction": "Search gene, geneset or phenotype",
"search examples": [
{
parameter: "gene",
value: "PLAU",
},
{
parameter: "gene",
value: "MLX",
},
],
"search parameters": [
{
parameter: "gene",
values: "kp genes",
"target page": {
label: "Search Gene",
url: "/pigean/gene.html?",
},
},
{
parameter: "geneset",
"target page": {
label: "Search Geneset",
url: "/pigean/geneset.html?",
},
},
{
parameter: "phenotype",
values: "kp phenotypes",
"target page": {
label: "Search Phenotype",
url: "/pigean/phenotype.html?",
},
},
],
},
},

computed: {
Expand Down
Loading