From 271245dfdb60057a461ac90fd59f953052eab8ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20M=C3=A9nager?= <herve.menager@pasteur.fr> Date: Fri, 17 Apr 2020 18:19:54 +0200 Subject: [PATCH] remove unused property from Compound: best_pXC50_activity (replaced by cached best_activity) --- ippisite/ippidb/models.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ippisite/ippidb/models.py b/ippisite/ippidb/models.py index 6881ade8..8bc2aa9a 100644 --- a/ippisite/ippidb/models.py +++ b/ippisite/ippidb/models.py @@ -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 -- GitLab