Skip to content
Snippets Groups Projects
Commit 271245df authored by Hervé  MENAGER's avatar Hervé MENAGER
Browse files

remove unused property from Compound: best_pXC50_activity

(replaced by cached best_activity)
parent da82f21b
No related branches found
No related tags found
1 merge request!13Master
......@@ -857,12 +857,6 @@ class Compound(AutoFillableModel):
pfam_ids.add(bound_complex.complex.domain.pfam_id)
return pfam_ids
@property
def best_pXC50_activity(self):
return self.compoundactivityresult_set.aggregate(Max("activity"))[
"activity__max"
]
@property
def best_pXC50_compound_activity_result(self):
best_pXC50_activity = self.best_activity
......
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