Skip to content

Commit

Permalink
Fix test of force constants calculation with QE calculator
Browse files Browse the repository at this point in the history
  • Loading branch information
atztogo committed Nov 19, 2023
1 parent c487eab commit 27dfe17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/cui/test_phono3py_load_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def test_phono3py_with_QE_calculator(load_phono3py_yaml):
with pytest.raises(SystemExit):
main(**argparse_control)

with h5py.File("kappa-m111111.hdf5") as f:
with h5py.File(cwd_called / "kappa-m111111.hdf5") as f:
np.testing.assert_almost_equal(f["kappa"][0, 0], 118.93, decimal=1)

# Clean files created by phono3py/phono3py-load script.
Expand Down

0 comments on commit 27dfe17

Please sign in to comment.