Skip to content
Snippets Groups Projects
Commit 9a070d6a authored by Bryan BRANCOTTE's avatar Bryan BRANCOTTE
Browse files

Fixing #53 sometime domain cannot be known

parent 772917be
No related branches found
No related tags found
1 merge request!4Add domains to proteins
Pipeline #9789 passed
......@@ -252,7 +252,7 @@ class ProteinDomainComplex(models.Model):
Protein-Domain association
"""
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(
'Number of copies of the protein in the complex')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment