Skip to content

Commit dbe92ab

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent a9d28f7 commit dbe92ab

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

deepmd/pd/model/atomic_model/dp_atomic_model.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,9 @@ def compute_fitting_input_stat(
421421
The dictionary of paths to the statistics files.
422422
"""
423423
self.fitting_net.compute_input_stats(
424-
sample_merged, protection=self.data_stat_protect, stat_file_path=stat_file_path,
424+
sample_merged,
425+
protection=self.data_stat_protect,
426+
stat_file_path=stat_file_path,
425427
)
426428

427429
def get_dim_fparam(self) -> int:

deepmd/pt/model/atomic_model/dp_atomic_model.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,9 @@ def compute_fitting_input_stat(
362362
The dictionary of paths to the statistics files.
363363
"""
364364
self.fitting_net.compute_input_stats(
365-
sample_merged, protection=self.data_stat_protect, stat_file_path=stat_file_path,
365+
sample_merged,
366+
protection=self.data_stat_protect,
367+
stat_file_path=stat_file_path,
366368
)
367369

368370
def get_dim_fparam(self) -> int:

0 commit comments

Comments
 (0)