From 0dafdb7015c78db9f7b8dc1ddba742f540adcf2c Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 27 Aug 2024 12:56:48 +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/property_atomic_model.py | 2 +- deepmd/dpmodel/model/__init__.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/deepmd/dpmodel/atomic_model/property_atomic_model.py b/deepmd/dpmodel/atomic_model/property_atomic_model.py index 3fafa32599..ecc450bcd2 100644 --- a/deepmd/dpmodel/atomic_model/property_atomic_model.py +++ b/deepmd/dpmodel/atomic_model/property_atomic_model.py @@ -11,4 +11,4 @@ class DPPropertyAtomicModel(DPAtomicModel): def __init__(self, descriptor, fitting, type_map, **kwargs): assert isinstance(fitting, PropertyFittingNet) - super().__init__(descriptor, fitting, type_map, **kwargs) \ No newline at end of file + super().__init__(descriptor, fitting, type_map, **kwargs) diff --git a/deepmd/dpmodel/model/__init__.py b/deepmd/dpmodel/model/__init__.py index 476833ec55..f2a884c497 100644 --- a/deepmd/dpmodel/model/__init__.py +++ b/deepmd/dpmodel/model/__init__.py @@ -18,12 +18,12 @@ from .ener_model import ( EnergyModel, ) -from .property_model import ( - PropertyModel, -) from .make_model import ( make_model, ) +from .property_model import ( + PropertyModel, +) from .spin_model import ( SpinModel, )