Skip to content

Commit

Permalink
Merge pull request #116 from sroet/fix_forgotten_ne
Browse files Browse the repository at this point in the history
define forgotten ne
  • Loading branch information
dwhswenson authored May 11, 2021
2 parents bcff7ce + 11da8b4 commit 3089eba
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions contact_map/contact_trajectory.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ def __hash__(self):
def __eq__(self, other):
return hash(self) == hash(other)

def __ne__(self, other):
return not self.__eq__(other)

@classmethod
def from_contacts(cls, atom_contacts, residue_contacts, topology,
query=None, haystack=None, cutoff=0.45,
Expand Down

0 comments on commit 3089eba

Please sign in to comment.