Skip to content

Commit

Permalink
deleted uneeded function calls
Browse files Browse the repository at this point in the history
  • Loading branch information
jackbaker1001 committed Sep 11, 2023
1 parent 0322b13 commit 112bad6
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions tests/integration/test_classical_functionals.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@ def test_lda(mol):
lsdadiff = (ground_truth_energy - predicted_e) * Hartree2kcalmol
assert jnp.allclose(lsdadiff, 0, atol=1e-3)

test_lda(mol)

##### B88 ####
@pytest.mark.parametrize("mol", mols)
def test_b88(mol):
Expand All @@ -81,7 +79,6 @@ def test_b88(mol):
b88diff = (ground_truth_energy - predicted_e) * Hartree2kcalmol
assert jnp.allclose(b88diff, 0, atol=1e-3)

test_b88(mol)

##### VWN ####
@pytest.mark.parametrize("mol", mols)
Expand All @@ -98,7 +95,6 @@ def test_vwn(mol):
vwndiff = (ground_truth_energy - predicted_e) * Hartree2kcalmol
assert jnp.allclose(vwndiff, 0, atol=1e-3)

test_vwn(mol)

##### LYP ####
@pytest.mark.parametrize("mol", mols)
Expand All @@ -115,7 +111,6 @@ def test_lyp(mol):
lypdiff = (ground_truth_energy - predicted_e) * Hartree2kcalmol
assert jnp.allclose(lypdiff, 0, atol=1e-3)

test_lyp(mol)

#### B3LYP ####
# This test will only pass if you set B3LYP_WITH_VWN5 = True in pyscf_conf.py.
Expand All @@ -134,7 +129,6 @@ def test_b3lyp(mol):
b3lypdiff = (ground_truth_energy - predicted_e) * Hartree2kcalmol
assert jnp.allclose(b3lypdiff, 0, atol=1e-3)

test_b3lyp(mol)

#### PW92 ####
@pytest.mark.parametrize("mol", mols)
Expand All @@ -150,5 +144,3 @@ def test_pw92(mol):

pw92diff = (ground_truth_energy - predicted_e) * Hartree2kcalmol
assert jnp.allclose(pw92diff, 0, atol=1e-3)

test_pw92(mol)

0 comments on commit 112bad6

Please sign in to comment.