Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
metagenedb
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Commits
5cf99b20
Commit
5cf99b20
authored
5 years ago
by
Kenzo-Hugo Hillion
Browse files
Options
Downloads
Patches
Plain Diff
fix issue and endpoint for all gene length
parent
6ecc0f79
No related branches found
Branches containing commit
No related tags found
1 merge request
!59
Prod
Pipeline
#21029
passed with stages
Stage:
Stage:
Stage:
in 2 minutes and 49 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
backend/metagenedb/apps/catalog/management/commands/compute_stats.py
+0
-3
0 additions, 3 deletions
...agenedb/apps/catalog/management/commands/compute_stats.py
frontend/src/views/Stats.vue
+1
-1
1 addition, 1 deletion
frontend/src/views/Stats.vue
with
1 addition
and
4 deletions
backend/metagenedb/apps/catalog/management/commands/compute_stats.py
+
0
−
3
View file @
5cf99b20
...
...
@@ -7,8 +7,6 @@ from slugify import slugify
from
metagenedb.apps.catalog.models
import
Statistics
from
metagenedb.apps.catalog.operations.statistics
import
GeneStatistics
from
metagenedb.common.utils.profiling
import
profile
logging
.
basicConfig
(
format
=
'
[%(asctime)s] %(levelname)s:%(name)s:%(message)s
'
)
logger
=
logging
.
getLogger
(
__name__
)
...
...
@@ -69,7 +67,6 @@ class ComputeGeneLength(ComputeStatistics):
},
}
@profile
(
'
/Users/khillion/Sandbox/compute_genes.prof
'
)
def
all
(
self
):
gene_stats
=
GeneStatistics
()
for
category
,
filters
in
self
.
CATEGORIES
.
items
():
...
...
This diff is collapsed.
Click to expand it.
frontend/src/views/Stats.vue
+
1
−
1
View file @
5cf99b20
...
...
@@ -159,7 +159,7 @@ export default {
},
methods
:
{
getGeneLength
()
{
axios
.
get
(
'
/api/catalog/v1/statistics/genestatistics-gene-length-
'
+
this
.
geneLengthWindowSize
+
'
-
'
+
this
.
stopAt
,
{
axios
.
get
(
'
/api/catalog/v1/statistics/genestatistics-gene-length-
'
+
this
.
geneLengthWindowSize
+
'
-
'
+
this
.
stopAt
+
'
-all
'
,
{
headers
:
{
Accept
:
'
application/json
'
,
},
...
...
This diff is collapsed.
Click to expand it.
Preview
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!
Save comment
Cancel
Please
register
or
sign in
to comment