Skip to content

Commit

Permalink
fix: precommit
Browse files Browse the repository at this point in the history
  • Loading branch information
anyangml committed Mar 25, 2024
1 parent e0f3704 commit f3a140f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion deepmd/pt/utils/stat.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,9 @@ def compute_output_stats_atomic(
atomic_label_name = "atomic_polarizability"
global_label_name = "polarizability"
file_label_name = "bias_polar"

else:
raise NotImplementedError

if stat_file_path is not None:
stat_file_path = stat_file_path / file_label_name
if stat_file_path is not None and stat_file_path.is_file():
Expand Down

0 comments on commit f3a140f

Please sign in to comment.