From a9d6292e699d834ab0ab2e1f683854ba53f118db Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 27 Nov 2024 02:43:57 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- deepmd/dpmodel/atomic_model/linear_atomic_model.py | 2 +- deepmd/pt/model/atomic_model/linear_atomic_model.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deepmd/dpmodel/atomic_model/linear_atomic_model.py b/deepmd/dpmodel/atomic_model/linear_atomic_model.py index 09b5c38263..01bfa6e7bd 100644 --- a/deepmd/dpmodel/atomic_model/linear_atomic_model.py +++ b/deepmd/dpmodel/atomic_model/linear_atomic_model.py @@ -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, diff --git a/deepmd/pt/model/atomic_model/linear_atomic_model.py b/deepmd/pt/model/atomic_model/linear_atomic_model.py index cc70311ea7..7ae92733d8 100644 --- a/deepmd/pt/model/atomic_model/linear_atomic_model.py +++ b/deepmd/pt/model/atomic_model/linear_atomic_model.py @@ -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,