Skip to content
Snippets Groups Projects
Commit 420dd2f7 authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

use System column

parent 3b259158
No related branches found
No related tags found
2 merge requests!187fix cif path2,!166new tentative
Pipeline #119195 passed
This commit is part of merge request !166. Comments created here will be created in the context of that merge request.
......@@ -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" },
......
Source diff could not be displayed: it is stored in LFS. Options to address this: view the blob.
......@@ -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",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment