Skip to content

Commit

Permalink
modify the length unit of DFTB+, add doc to the DFTBplusFormat class,…
Browse files Browse the repository at this point in the history
… rename dftb_plus to dftbplus
  • Loading branch information
ruio248 committed Jul 31, 2023
1 parent 22bc851 commit 5ebe52b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/test_dftb_plus.py → tests/test_dftbplus.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

class TestDeepmdLoadAmmonia(unittest.TestCase, CompLabeledSys, IsNoPBC):
def setUp(self):
length_convert = dpdata.unit.LengthConversion("bohr", "angstrom").value()
energy_convert = dpdata.unit.EnergyConversion("hartree", "eV").value()
force_convert = dpdata.unit.ForceConversion(
"hartree/bohr", "eV/angstrom"
Expand All @@ -31,8 +30,7 @@ def setUp(self):
[0.702550, 0.603740, -0.789160],
]
]
)
* length_convert,
),
"energies": np.array([-3.2963983884]) * energy_convert,
"forces": np.array(
[
Expand Down

0 comments on commit 5ebe52b

Please sign in to comment.