Skip to content

Commit

Permalink
Merge branch 'master' of github.com:apalizha/GASpy into debug
Browse files Browse the repository at this point in the history
  • Loading branch information
ktran9891 committed Jun 29, 2020
2 parents 5360eb0 + d987758 commit 8f13c31
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions gaspy/tests/gasdb_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -511,8 +511,9 @@ def test_get_low_coverage_ml_docs(adsorbate, model_tag):

def test_get_electrochemical_stability():
# at pH=0, V=0.9
expected_stabilities = {'mp-126': 0.884, # Pt
'mp-81': 0.0} # Au
expected_stabilities = {'mp-126': 0.861, # Pt
'mp-81': 0.0, # Au
'mp-2723': 0.0} #IrO2
for mpid, expected_stability in expected_stabilities.items():
stability = get_electrochemical_stability(mpid, 0, 0.9)
assert math.isclose(stability, expected_stability, rel_tol=1e-6)

0 comments on commit 8f13c31

Please sign in to comment.