From 27dfe174793974cb98f811143b4efe7d8cd786b5 Mon Sep 17 00:00:00 2001 From: Atsushi Togo Date: Mon, 20 Nov 2023 07:26:00 +0900 Subject: [PATCH] Fix test of force constants calculation with QE calculator --- test/cui/test_phono3py_load_script.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/cui/test_phono3py_load_script.py b/test/cui/test_phono3py_load_script.py index 7c97f964..c16f1fe2 100644 --- a/test/cui/test_phono3py_load_script.py +++ b/test/cui/test_phono3py_load_script.py @@ -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.