Skip to content
Snippets Groups Projects
Commit 6f151550 authored by Nicolas  MAILLET's avatar Nicolas MAILLET
Browse files

Remove unnecessary __hash__ function

parent dae3e53a
No related branches found
No related tags found
No related merge requests found
...@@ -68,10 +68,6 @@ class Enzyme: ...@@ -68,10 +68,6 @@ class Enzyme:
return self.__dict__ == other.__dict__ return self.__dict__ == other.__dict__
return False return False
# Needed with __eq__ to make it hashable
def __hash__(self):
return hash(self.__dict__.values())
def write_enzyme_in_user_file(self, enz_file=DEFUSERENZFILE): def write_enzyme_in_user_file(self, enz_file=DEFUSERENZFILE):
"""Write enzyme to user's enzyme file as a Python function. """Write enzyme to user's enzyme file as a Python function.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment