Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 27, 2024
1 parent ea30a2d commit e0d1085
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deepmd/dpmodel/atomic_model/pairtab_atomic_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -435,4 +435,4 @@ def enable_compression(
check_frequency: int = -1,
) -> None:
"""Pairtab model does not support compression."""
pass
pass
2 changes: 1 addition & 1 deletion deepmd/pt/model/atomic_model/linear_atomic_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ def deserialize(cls, data) -> "DPZBLLinearEnergyAtomicModel":
data["dp_model"], data["zbl_model"] = models[0], models[1]
data.pop("@class", None)
data.pop("type", None)
return super().deserialize(data)
return super().deserialize(data)

def _compute_weight(
self,
Expand Down

0 comments on commit e0d1085

Please sign in to comment.