Commit 6053af0b authored by Kenzo-Hugo Hillion's avatar Kenzo-Hugo Hillion
Browse files

perform clean of statistics only when specified

parent b9df62f1
Pipeline #31625 passed with stages
in 3 minutes and 35 seconds
......@@ -203,7 +203,7 @@ class Command(BaseCommand):
only_step = self._get_and_validate_only_step(options['only'])
gene_sources = self._get_and_validate_source(options['source'])
for gene_source in gene_sources:
if only_step is None or only_step == "clean":
if only_step == "clean":
ComputeStatistics(gene_source).clean_db()
if only_step is None or only_step == "counts":
ComputeCounts(gene_source).all()
......
Supports Markdown
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