Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions deepmd/entrypoints/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -1069,8 +1069,8 @@ def test_wfc(
wfc, numb_test, _ = run_test(dp, test_data, numb_test, data)
rmse_f = rmse(wfc - test_data["wfc"][:numb_test])

log.info("# number of test data : {numb_test:d} ")
log.info("WFC RMSE : {rmse_f:e} eV/Å")
log.info(f"# number of test data : {numb_test:d} ")
log.info(f"WFC RMSE : {rmse_f:e}")

if detail_file is not None:
detail_path = Path(detail_file)
Expand All @@ -1097,7 +1097,7 @@ def print_wfc_sys_avg(avg: dict) -> None:
avg : np.ndarray
array with summaries
"""
log.info(f"WFC RMSE : {avg['rmse']:e} eV/Å")
log.info(f"WFC RMSE : {avg['rmse']:e}")


def test_polar(
Expand Down Expand Up @@ -1239,7 +1239,7 @@ def print_polar_sys_avg(avg: dict) -> None:
avg : np.ndarray
array with summaries
"""
log.info(f"Polarizability RMSE : {avg['rmse']:e} eV/Å")
log.info(f"Polarizability RMSE : {avg['rmse']:e}")


def test_dipole(
Expand Down Expand Up @@ -1353,4 +1353,4 @@ def print_dipole_sys_avg(avg: dict) -> None:
avg : np.ndarray
array with summaries
"""
log.info(f"Dipole RMSE : {avg['rmse']:e} eV/Å")
log.info(f"Dipole RMSE : {avg['rmse']:e}")