diff --git a/components/content/StructureDb.vue b/components/content/StructureDb.vue index 89f9919c34e48d8fefc7db283f0848ea39328eed..e12e202ca241fee3b46b4365d029562a1c086c27 100644 --- a/components/content/StructureDb.vue +++ b/components/content/StructureDb.vue @@ -6,12 +6,12 @@ import { useNumericalFilter } from "@/composables/useNumericalfilter" import { ServerDbTable } from "#components" -const sortBy: Ref<SortItem[]> = ref([{ key: 'System_name_ok', order: "asc" }]) +const sortBy: Ref<SortItem[]> = ref([{ key: 'System', order: "asc" }]) const itemValue = ref("id"); -const facets: Ref<string[]> = ref(["System_name_ok", "subtype", "gene_name", "completed", "prediction_type",]) +const facets: Ref<string[]> = ref(["System", "subtype", "gene_name", "completed", "prediction_type",]) const headers: Ref<Object[]> = ref([ { title: 'Structure', key: 'structure', sortable: false, removable: false }, - { title: "System", key: "System_name_ok", removable: false }, + { title: "System", key: "System", removable: false }, { title: "Gene name", key: "gene_name", removable: false }, { title: "Subtype", key: "subtype", removable: false }, // { title: "pdb file", key: "pdb" }, diff --git a/data/all_predictions_statistics_clean.csv b/data/all_predictions_statistics_clean.csv index 9f94c93ff6a63d61e9d8394071e25c392fe1f076..b3d56f12437d89b4ee96a4c4076178d81004cbb5 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:06b71ce99c8f6ac46771abb62e028168a0975717acff4c4d68dd783d896a84ed -size 583535 +oid sha256:adca1ecd58e622b16610a4c1a731f63c87e0e65b9d58ba3f3f7a6adb14a612f2 +size 598918 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 48229937399434583a3c8f912cfa7df5a8fa5f65..92f3a29ece4a55784aaa8f13315621b40f6b3b02 100644 --- a/packages/df-wiki-cli/df_wiki_cli/meilisearch/__init__.py +++ b/packages/df-wiki-cli/df_wiki_cli/meilisearch/__init__.py @@ -46,6 +46,7 @@ NaFloat = Annotated[Optional[float], BeforeValidator(na_to_none)] class StrucutreStatistics(BaseModel): id: int System_name_ok: str + System: str gene_name: str subtype: str proteins_in_the_prediction: List[str] @@ -153,7 +154,7 @@ def update_structure( print(pagination_settings_task) attr_task = index.update_filterable_attributes( body=[ - "System_name_ok", + "System", "gene_name", "subtype", "completed", @@ -173,6 +174,7 @@ def update_structure( index.update_sortable_attributes( [ "System_name_ok", + "System", "gene_name", "subtype", "completed",