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 Apr 12, 2024
1 parent 9f437ed commit ed34307
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
13 changes: 6 additions & 7 deletions deepmd/pt/model/atomic_model/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,15 @@
from .dipole_atomic_model import (
DPDipoleAtomicModel,
)
from .dos_atomic_model import (
DPDOSAtomicModel,
)
from .dp_atomic_model import (
DPAtomicModel,
)
from .energy_atomic_model import (
DPEnergyAtomicModel,
)
from .linear_atomic_model import (
DPZBLLinearEnergyAtomicModel,
LinearEnergyAtomicModel,
Expand All @@ -33,13 +39,6 @@
from .polar_atomic_model import (
DPPolarAtomicModel,
)
from .dos_atomic_model import (
DPDOSAtomicModel
)
from .energy_atomic_model import (
DPEnergyAtomicModel
)


__all__ = [
"BaseAtomicModel",
Expand Down
3 changes: 2 additions & 1 deletion deepmd/pt/model/atomic_model/dos_atomic_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
DPAtomicModel,
)


class DPDOSAtomicModel(DPAtomicModel):
pass
pass
3 changes: 2 additions & 1 deletion deepmd/pt/model/atomic_model/energy_atomic_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
DPAtomicModel,
)


class DPEnergyAtomicModel(DPAtomicModel):
pass
pass
1 change: 0 additions & 1 deletion deepmd/pt/model/model/dp_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ def update_sel(cls, global_jdata: dict, local_jdata: dict):
global_jdata, local_jdata["descriptor"]
)
return local_jdata_cpy


def get_fitting_net(self):
"""Get the fitting network."""
Expand Down

0 comments on commit ed34307

Please sign in to comment.