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 Jan 9, 2025
1 parent b9bdee5 commit a30053f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deepmd/pt/utils/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def get_frame_index(self):
row_indices_global = np.where(frames_with_elem)[0] + base_offset
element_counts[elem]["frames"] += len(row_indices)
element_counts[elem]["indices"].extend(row_indices_global.tolist())
base_offset += element_data.shape[0]
base_offset += element_data.shape[0]
element_counts = dict(element_counts)
return element_counts

Expand Down

0 comments on commit a30053f

Please sign in to comment.