From a0c493d703bc5cc668ac3867ac0b0f460a7978e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20=20MENAGER?= <herve.menager@pasteur.fr> Date: Thu, 14 Sep 2017 14:40:15 +0200 Subject: [PATCH] correct small error in models code Former-commit-id: 86cbfb7ecd83e8560695d670c9ed6cf9c67ebfe4 --- ippisite/ippidb/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ippisite/ippidb/models.py b/ippisite/ippidb/models.py index 3f321df3..4456cfa2 100644 --- a/ippisite/ippidb/models.py +++ b/ippisite/ippidb/models.py @@ -434,7 +434,7 @@ class CompoundAction(models.Model): get the complexes involved in the compound action which are always the bound complexes """ - return ppi.get_ppi_bound_complexes() + return self.ppi.get_ppi_bound_complexes() class RefCompoundBiblio(models.Model): compound = models.ForeignKey(Compound) -- GitLab