diff --git a/components/ServerDbTable.vue b/components/ServerDbTable.vue index c0ffaa005c5d64a4c2e3d8020d81bdd5f623ad20..af1868ab752408a58667a4e35455c592e25a5fe0 100644 --- a/components/ServerDbTable.vue +++ b/components/ServerDbTable.vue @@ -132,7 +132,7 @@ const hasPlddt = computed(() => props.db === 'structure') // Fetch results const plddtFilter = computed(() => { const plddtRangeValue = plddtRange.value - if (hasPlddt.value && plddtRangeValue?.length === 2) { + if (hasPlddt.value && plddtRangeValue?.length === 2 && plddtRangeValue[0] !== 0 && plddtRangeValue[1] !== 100) { return `plddts ${plddtRangeValue[0]} TO ${plddtRangeValue[1]}` } else { return undefined diff --git a/components/content/StructureDb.vue b/components/content/StructureDb.vue index 8ef19c3ca164964ebb3e1288974c39adde0b9ed1..6fc5a9c846bd0f171f139c6712b8074eef3fe48e 100644 --- a/components/content/StructureDb.vue +++ b/components/content/StructureDb.vue @@ -5,10 +5,10 @@ import type { SortItem } from "@/components/ServerDbTable.vue" import { ServerDbTable } from "#components" const sortBy: Ref<SortItem[]> = ref([{ key: 'system', order: "asc" }]) const itemValue = ref("id"); -const facets: Ref<string[]> = ref(["system", "completed"]) +const facets: Ref<string[]> = ref(["system", "completed", "prediction_type", ]) const headers: Ref<Object[]> = ref([ { title: 'Structure', key: 'structure', sortable: false, removable: false }, - { title: "System", key: "system", removable: false }, + { title: "Type", key: "system", removable: false }, // { title: "pdb file", key: "pdb" }, // { title: "fasta", key: "fasta_file" }, { title: "Proteins in structure", key: 'proteins_in_the_prediction', sortable: false, removable: true }, @@ -21,7 +21,7 @@ const headers: Ref<Object[]> = ref([ { title: "pLDDT", key: "plddts", removable: true }, { title: "iptm+ptm", key: "iptm+ptm", removable: true }, { title: "pDockQ", key: "pDockQ", removable: true }, - { title: "Type", key: "type", removable: true }, + // { title: "Type", key: "type", removable: true }, ]) const { search: msSearch, result: msResult } = useMeiliSearch('structure') 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 639d80b5764fa054f2ae69f5f7af5e680ab6b210..ed3c00314fca625864f9c24a22e41dead0ce4414 100644 --- a/packages/df-wiki-cli/df_wiki_cli/meilisearch/__init__.py +++ b/packages/df-wiki-cli/df_wiki_cli/meilisearch/__init__.py @@ -149,7 +149,7 @@ def update_structure( ) print(pagination_settings_task) attr_task = index.update_filterable_attributes( - body=["system", "completed", "plddts", "prediction_type", "completed", "type"] + body=["system", "completed", "prediction_type"] ) params = { "maxValuesPerFacet": 1000000,