Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
metagenedb
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Metagenomics
metagenedb
Merge requests
!72
Draft: Improve source
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
Draft: Improve source
improve-source
into
dev
Overview
0
Commits
15
Pipelines
7
Changes
30
Open
Kenzo-Hugo Hillion
requested to merge
improve-source
into
dev
4 years ago
Overview
0
Commits
15
Pipelines
7
Changes
30
Expand
Closes #163
TODO
Create Source model
Migration
Create IGC and Virgo sources in migration
Link Gene to Source in migration
Add Serializer and update Serializer for Gene
Add custom command to create sources
Add API endpoint to list sources
Basic endpoint
Extended information from doi.org
Requests cache for doi.org
->
API to unstable
Update filters on API
Update backend filters
Query source list from frontend to list available source to filter on
Update scripts to generate light DB
Update Factory for Gene
Create Dummy sources
Update way to compute statistics
Update Frontend
Use correct source in list
Add Source component
Add source box gene description
Add description of Source on DB
Edited
4 years ago
by
Kenzo-Hugo Hillion
0
0
Merge request reports
Compare
dev
version 6
62230a4e
4 years ago
version 5
41e9453b
4 years ago
version 4
edaa9930
4 years ago
version 3
580c2bdf
4 years ago
version 2
12b49ab7
4 years ago
version 1
b1d5b335
4 years ago
dev (HEAD)
and
latest version
latest version
c3436390
15 commits,
4 years ago
version 6
62230a4e
14 commits,
4 years ago
version 5
41e9453b
13 commits,
4 years ago
version 4
edaa9930
7 commits,
4 years ago
version 3
580c2bdf
6 commits,
4 years ago
version 2
12b49ab7
5 commits,
4 years ago
version 1
b1d5b335
3 commits,
4 years ago
30 files
+
531
−
89
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
30
Search (e.g. *.vue) (Ctrl+P)
backend/metagenedb/api/catalog/filters/gene.py
+
4
−
1
Options
@@ -24,6 +24,9 @@ class GeneFilter(filters.FilterSet):
tax_id
=
filters
.
CharFilter
(
method
=
'
filter_annotated_tax
'
)
source
=
filters
.
CharFilter
(
field_name
=
"
source__slug
"
)
function
=
filters
.
ModelMultipleChoiceFilter
(
queryset
=
Function
.
objects
.
all
(),
field_name
=
'
functions__function_id
'
,
@@ -37,4 +40,4 @@ class GeneFilter(filters.FilterSet):
class
Meta
:
model
=
Gene
fields
=
[
'
length
'
,
'
name
'
,
'
source
'
]
fields
=
[
'
length
'
,
'
name
'
]
Loading