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

correct multitable inheritance for proteindomaincomplex classes

parent 6c263443
No related branches found
No related tags found
No related merge requests found
...@@ -87,9 +87,7 @@ class ProteinDomainComplex(models.Model): ...@@ -87,9 +87,7 @@ class ProteinDomainComplex(models.Model):
class Meta: class Meta:
verbose_name_plural = "complexes" verbose_name_plural = "complexes"
abstract = True
#TEST inheritance for complex: BoundComplex and PartnerComplex
class ProteinDomainBoundComplex(ProteinDomainComplex): class ProteinDomainBoundComplex(ProteinDomainComplex):
ppp_copy_nb_per_p = models.IntegerField('Number of copies of the protein in the pocket') ppp_copy_nb_per_p = models.IntegerField('Number of copies of the protein in the pocket')
pockets_nb = models.IntegerField('Total number of pockets in the complex') pockets_nb = models.IntegerField('Total number of pockets in the complex')
......
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