Skip to content

Commit

Permalink
Merge pull request #4 from tanqz-jojo/patch-1
Browse files Browse the repository at this point in the history
Update test_compute_octupole.py delete step_pol=5
  • Loading branch information
dingye18 authored Apr 3, 2024
2 parents 125bf2f + 1428e31 commit 20cdbfd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_admp/test_compute_octupole.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def test_ADMPPmeForce_octupole_ala5(self):
rc = 12.0
H3 = Hamiltonian('tests/data/ala5_dmff.xml')
pdb = app.PDBFile('tests/data/ala5_mpid.pdb')
potential3 = H3.createPotential(pdb.topology, nonbondedMethod=app.PME, nonbondedCutoff=rc*unit.angstrom, ethresh=5e-4, step_pol=5, has_aux=True)
potential3 = H3.createPotential(pdb.topology, nonbondedMethod=app.PME, nonbondedCutoff=rc*unit.angstrom, ethresh=5e-4, has_aux=True)
paramset3 = H3.paramset

rc = 1.2
Expand All @@ -122,4 +122,4 @@ def test_ADMPPmeForce_octupole_ala5(self):
energy_and_aux = pot(positions, box, pairs, paramset3, aux)
energy = energy_and_aux[0]
print("Octupole Included Energy: ", energy)
np.testing.assert_almost_equal(energy, 63.2, decimal=1)
np.testing.assert_almost_equal(energy, 63.2, decimal=1)

0 comments on commit 20cdbfd

Please sign in to comment.