From f2265631c28d99505c94a3a3b0115c7db3d14ed3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20M=C3=A9nager?= <herve.menager@pasteur.fr> Date: Fri, 26 Jun 2020 15:14:11 +0200 Subject: [PATCH] make flake8+black happy :) --- ippisite/ippidb/models.py | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/ippisite/ippidb/models.py b/ippisite/ippidb/models.py index 66dcac11..fd6d9bde 100644 --- a/ippisite/ippidb/models.py +++ b/ippisite/ippidb/models.py @@ -1280,7 +1280,9 @@ class CompoundActivityResult(models.Model): @property def ref(self): - return RefCompoundBiblio.objects.get(compound=self.compound, bibliography=self.test_activity_description.biblio) + return RefCompoundBiblio.objects.get( + compound=self.compound, bibliography=self.test_activity_description.biblio + ) class TestCytotoxDescription(models.Model): @@ -1321,7 +1323,10 @@ class CompoundCytotoxicityResult(models.Model): @property def ref(self): - return RefCompoundBiblio.objects.get(compound=self.compound, bibliography=self.test_cytotoxicity_description.biblio) + return RefCompoundBiblio.objects.get( + compound=self.compound, + bibliography=self.test_cytotoxicity_description.biblio, + ) class TestPKDescription(models.Model): @@ -1384,7 +1389,9 @@ class CompoundPKResult(models.Model): @property def ref(self): - return RefCompoundBiblio.objects.get(compound=self.compound, bibliography=self.test_pk_description.biblio) + return RefCompoundBiblio.objects.get( + compound=self.compound, bibliography=self.test_pk_description.biblio + ) class CompoundAction(models.Model): -- GitLab