Skip to content
Snippets Groups Projects

Add domains to proteins

Merged Bryan BRANCOTTE requested to merge add_domains_to_proteins into master
+ 1
1
@@ -297,7 +297,7 @@ class ProteinDomainComplex(models.Model):
@@ -297,7 +297,7 @@ class ProteinDomainComplex(models.Model):
Protein-Domain association
Protein-Domain association
"""
"""
protein = models.ForeignKey('Protein', models.CASCADE)
protein = models.ForeignKey('Protein', models.CASCADE)
domain = models.ForeignKey('Domain', models.CASCADE)
domain = models.ForeignKey('Domain', models.CASCADE, null=True, blank=True)
ppc_copy_nb = models.IntegerField(
ppc_copy_nb = models.IntegerField(
'Number of copies of the protein in the complex')
'Number of copies of the protein in the complex')
Loading