From 049248dfd0210bbd814ff2f013147ec81ac2ffcb Mon Sep 17 00:00:00 2001
From: Remi  PLANEL <rplanel@pasteur.fr>
Date: Fri, 29 Mar 2024 14:43:35 +0100
Subject: [PATCH] remove console

---
 components/content/ArticleSystemDistributionPlot.vue | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/components/content/ArticleSystemDistributionPlot.vue b/components/content/ArticleSystemDistributionPlot.vue
index 2b843af7..767c5160 100644
--- a/components/content/ArticleSystemDistributionPlot.vue
+++ b/components/content/ArticleSystemDistributionPlot.vue
@@ -44,17 +44,12 @@ const computedDistribution = computed(() => {
     const toValSystemHits = toValue(systemHits)
     const toValRefseqTaxo = toValue(refseqTaxo)
     if (toValSystemHits?.hits && toValSelectedTaxoRank && toValRefseqTaxo?.facetDistribution) {
-        console.log(toValRefseqTaxo)
         const toValFacetsPerRank = toValRefseqTaxo.facetDistribution?.[toValSelectedTaxoRank]
         // group per selected taxo rank and accession
         const itemsPerGroup = d3.rollup(toValSystemHits.hits, D => D.length, d => d[toValSelectedTaxoRank], d => d.Assembly)
-        console.log(itemsPerGroup)
-        if (toValSelectedTaxoRank === "order") {
-            console.log(itemsPerGroup.get("Oscillatoriales"))
-        }
+
         const distribution = []
         for (const [taxo, values] of itemsPerGroup.entries()) {
-            console.log(toValFacetsPerRank[taxo])
             if (toValFacetsPerRank[taxo] && toValFacetsPerRank[taxo] > 0) {
                 distribution.push({ taxo, size: (values.size / toValFacetsPerRank[taxo]) * 100 })
             }
@@ -113,7 +108,6 @@ const distributionOptions = computed(() => {
     };
 })
 
-console.log(computedDistribution)
 
 // =================================================
 // ASYNC PART 
-- 
GitLab