Adding check of interpolation parameter in eff __eq__

This commit is contained in:
Patrick Shriwise 2022-09-17 11:31:46 -05:00
parent f33ea966b2
commit 834450066e

View file

@ -1913,6 +1913,8 @@ class EnergyFunctionFilter(Filter):
def __eq__(self, other):
if type(self) is not type(other):
return False
elif not self.interpolation == other.interpolation:
return False
elif not all(self.energy == other.energy):
return False
else: