Skip to content
Snippets Groups Projects
Commit 5cf99b20 authored by Kenzo-Hugo Hillion's avatar Kenzo-Hugo Hillion :recycle:
Browse files

fix issue and endpoint for all gene length

parent 6ecc0f79
No related branches found
No related tags found
1 merge request!59Prod
Pipeline #21029 passed with stages
in 2 minutes and 49 seconds
......@@ -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():
......
......@@ -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',
},
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment