From 2046f53f5a0b5b2189eb7b26b9e39b9fcc16d713 Mon Sep 17 00:00:00 2001
From: Remi  PLANEL <rplanel@pasteur.fr>
Date: Tue, 9 Jan 2024 12:00:43 +0100
Subject: [PATCH] Add list genes and proteins in filterable attributes

---
 components/content/StructureDb.vue                       | 3 ++-
 data/all_predictions_statistics_clean.csv                | 4 ++--
 packages/df-wiki-cli/df_wiki_cli/meilisearch/__init__.py | 2 ++
 3 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/components/content/StructureDb.vue b/components/content/StructureDb.vue
index e12e202c..bdbb57d5 100644
--- a/components/content/StructureDb.vue
+++ b/components/content/StructureDb.vue
@@ -8,7 +8,8 @@ import { useNumericalFilter } from "@/composables/useNumericalfilter"
 import { ServerDbTable } from "#components"
 const sortBy: Ref<SortItem[]> = ref([{ key: 'System', order: "asc" }])
 const itemValue = ref("id");
-const facets: Ref<string[]> = ref(["System", "subtype", "gene_name", "completed", "prediction_type",])
+const facets: Ref<string[]> = ref(["System", "subtype", "gene_name", "completed", "prediction_type", "proteins_in_the_prediction", "system_genes",
+])
 const headers: Ref<Object[]> = ref([
     { title: 'Structure', key: 'structure', sortable: false, removable: false },
     { title: "System", key: "System", removable: false },
diff --git a/data/all_predictions_statistics_clean.csv b/data/all_predictions_statistics_clean.csv
index b3d56f12..8ade3e63 100644
--- a/data/all_predictions_statistics_clean.csv
+++ b/data/all_predictions_statistics_clean.csv
@@ -1,3 +1,3 @@
 version https://git-lfs.github.com/spec/v1
-oid sha256:adca1ecd58e622b16610a4c1a731f63c87e0e65b9d58ba3f3f7a6adb14a612f2
-size 598918
+oid sha256:09bae9951cf2a86917f3a65ebd9bc2eb1e37c7fd342104b4442076aacb68a133
+size 593832
diff --git a/packages/df-wiki-cli/df_wiki_cli/meilisearch/__init__.py b/packages/df-wiki-cli/df_wiki_cli/meilisearch/__init__.py
index 92f3a29e..6b1f93ff 100644
--- a/packages/df-wiki-cli/df_wiki_cli/meilisearch/__init__.py
+++ b/packages/df-wiki-cli/df_wiki_cli/meilisearch/__init__.py
@@ -161,6 +161,8 @@ def update_structure(
             "prediction_type",
             "plddts",
             "iptm+ptm",
+            "proteins_in_the_prediction",
+            "system_genes",
             "pDockQ",
         ]
     )
-- 
GitLab