Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Metagenomics
metagenedb
Commits
9a5525bd
Commit
9a5525bd
authored
Mar 24, 2021
by
Kenzo-Hugo Hillion
♻
Browse files
add filter for gene with functions only
parent
c22590cc
Pipeline
#51859
failed with stages
in 47 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
frontend/src/views/genes/genes.html
View file @
9a5525bd
...
...
@@ -10,7 +10,7 @@
<v-spacer/>
{{ item.text }}
<v-spacer/>
<v-flex
md8
>
<v-flex
md8
>
<v-progress-linear
v-if=
"item.progressBar"
indeterminate
...
...
@@ -181,6 +181,14 @@
grid-list-md
>
<v-layout>
<v-flex
sm12
md8
lg6
d-flex
>
<v-switch
v-model=
"filterWithFunction"
label=
"Functional annotation"
color=
"secondary lighten-1"
></v-switch>
</v-flex>
<!-- Source choice -->
<v-flex
sm12
md8
lg6
d-flex
>
<v-text-field
...
...
frontend/src/views/genes/genes.js
View file @
9a5525bd
...
...
@@ -26,6 +26,7 @@ export default {
taxItems
:
[],
taxChoice
:
null
,
// - Function
filterWithFunction
:
null
,
functionID
:
null
,
// Information about request
loadTable
:
true
,
...
...
@@ -89,6 +90,9 @@ export default {
if
(
this
.
functionID
){
qParams
.
function
=
this
.
functionID
;
}
else
if
(
this
.
filterWithFunction
){
qParams
.
has_functions
=
this
.
filterWithFunction
;
};
if
(
this
.
taxChoice
)
{
qParams
.
tax_id
=
this
.
taxItems
[
this
.
taxChoice
];
}
...
...
@@ -336,6 +340,7 @@ export default {
},
emptyFunctionFilter
()
{
this
.
functionID
=
null
;
this
.
filterWithFunction
=
null
;
},
emptyFilters
()
{
this
.
emptyGeneInformationFilter
();
...
...
Write
Preview
Supports
Markdown
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!
Cancel
Please
register
or
sign in
to comment