diff --git a/pymatgen/analysis/phase_diagram.py b/pymatgen/analysis/phase_diagram.py index 319f7015389..ebfab043f09 100644 --- a/pymatgen/analysis/phase_diagram.py +++ b/pymatgen/analysis/phase_diagram.py @@ -99,15 +99,6 @@ def as_dict(self): "name": self.name, "attribute": self.attribute} - def __eq__(self, other): - if isinstance(other, self.__class__): - return self.as_dict() == other.as_dict() - else: - return False - - def __hash__(self): - return id(self) - @classmethod def from_dict(cls, d): return cls(Composition(d["composition"]), d["energy"],