Skip to content

Commit

Permalink
Discard __eq__ override in ElectroChemSequence
Browse files Browse the repository at this point in the history
  • Loading branch information
edan-bainglass committed Nov 1, 2023
1 parent afb8157 commit 07dcd67
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions aiida_aurora/schemas/cycling.py
Original file line number Diff line number Diff line change
Expand Up @@ -584,8 +584,3 @@ def move_step_forward(self, i):
if i < self.n_steps - 1:
j = i + 1
self.method[i], self.method[j] = self.method[j], self.method[i]

def __eq__(self, other: object) -> bool:
if not isinstance(other, ElectroChemSequence):
return NotImplemented
return self.name == other.name

0 comments on commit 07dcd67

Please sign in to comment.