Skip to content

Commit

Permalink
Add cached class to other compat. schemes
Browse files Browse the repository at this point in the history
  • Loading branch information
munrojm committed Mar 2, 2022
1 parent 4b66ebc commit 2ad326e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pymatgen/entries/compatibility.py
Original file line number Diff line number Diff line change
Expand Up @@ -817,7 +817,7 @@ def __init__(self, compat_type="Advanced", correct_peroxide=True, check_potcar_h
]
)


@cached_class
class MaterialsProject2020Compatibility(Compatibility):
"""
This class implements the Materials Project 2020 energy correction scheme,
Expand Down Expand Up @@ -1177,7 +1177,7 @@ def __init__(self, compat_type="Advanced", correct_peroxide=True, check_potcar_h
]
)


@cached_class
class MaterialsProjectAqueousCompatibility(Compatibility):
"""
This class implements the Aqueous energy referencing scheme for constructing
Expand Down

0 comments on commit 2ad326e

Please sign in to comment.