Skip to content

Commit 36d4677

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent e8bdc39 commit 36d4677

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deepmd/tf/fit/polar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ def init_variables(
577577
except GraphWithoutTensorError:
578578
warnings.warn(
579579
"You are trying to read a model trained with shift_diag=True, but the mean of the diagonal terms of the polarizability is not stored in the graph. This will lead to wrong inference results. You may train your model with the latest DeePMD-kit to avoid this issue.",
580-
stacklevel=2
580+
stacklevel=2,
581581
)
582582

583583
def enable_mixed_precision(self, mixed_prec: Optional[dict] = None) -> None:

0 commit comments

Comments
 (0)