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 Mar 4, 2024
1 parent 9c9cbbe commit d2adebb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion deepmd/pt/model/atomic_model/linear_atomic_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,6 @@ def compute_or_load_stat(
def change_energy_bias(self):

Check warning on line 345 in deepmd/pt/model/atomic_model/linear_atomic_model.py

View check run for this annotation

Codecov / codecov/patch

deepmd/pt/model/atomic_model/linear_atomic_model.py#L345

Added line #L345 was not covered by tests
# need to implement
pass

Check warning on line 347 in deepmd/pt/model/atomic_model/linear_atomic_model.py

View check run for this annotation

Codecov / codecov/patch

deepmd/pt/model/atomic_model/linear_atomic_model.py#L347

Added line #L347 was not covered by tests


def serialize(self) -> dict:
dd = BaseAtomicModel.serialize(self)
Expand Down
4 changes: 1 addition & 3 deletions deepmd/pt/train/training.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,7 @@
TensorLoss,
)
from deepmd.pt.model.model import (
DPZBLModel
)
from deepmd.pt.model.model import (
DPZBLModel,
get_model,
get_zbl_model,
)
Expand Down

0 comments on commit d2adebb

Please sign in to comment.