Commit 21457ae3 authored by Hervé  MENAGER's avatar Hervé MENAGER
Browse files

add option to sort compounds by PPI Family

FIX #11
parent 798aa3b8
Pipeline #28769 failed with stages
in 10 minutes and 49 seconds
......@@ -463,6 +463,7 @@ class CompoundListView(ListView):
"lle",
"best_activity",
"tests_av",
"families",
]
def get(self, request, *args, **kwargs):
......@@ -502,6 +503,8 @@ class CompoundListView(ListView):
for sort_by_option_id in self.sort_by_option_ids:
if sort_by_option_id == "pubs":
name = "Number of publications"
elif sort_by_option_id == "families":
name = "PPI families"
elif sort_by_option_id == "le":
name = "Ligand Efficiency"
elif sort_by_option_id == "lle":
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment