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 8b94a81 commit a9d6292
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/linear_atomic_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ def deserialize(cls, data) -> "DPZBLLinearEnergyAtomicModel":
data.pop("@class", None)
data.pop("type", None)
return super().deserialize(data)

def enable_compression(
self,
min_nbor_dist: float,
Expand Down
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 @@ -573,7 +573,7 @@ def deserialize(cls, data) -> "DPZBLLinearEnergyAtomicModel":
data.pop("@class", None)
data.pop("type", None)
return super().deserialize(data)

def enable_compression(
self,
min_nbor_dist: float,
Expand Down

0 comments on commit a9d6292

Please sign in to comment.