Skip to content
Snippets Groups Projects
Commit 910def6d authored by AndiMajore's avatar AndiMajore
Browse files

fixing setup and hashing function of drugtargetinteraction model

Former-commit-id: 93c6fbde5bbe12f4bf187e342148a4b057b4d16c [formerly 0b8b26cd706cb971ecc5057c5a3c1195a315e2df]
Former-commit-id: 8d17661920148d84260fde8b1773d97d014e8d03
parent 94414da1
No related branches found
No related tags found
No related merge requests found
......@@ -335,7 +335,7 @@ class ProteinDrugInteraction(models.Model):
return not self.__eq__(other)
def __hash__(self):
return hash((self.pdi_dataset_id, self.protein_id, self.drug_id, self.actions))
return hash((self.pdi_dataset_id, self.protein_id, self.drug_id))
class Task(models.Model):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment