Skip to content

Commit

Permalink
Fix: tf dipole atomic key (#3975)
Browse files Browse the repository at this point in the history
I believe this should fix #3970 

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Bug Fixes**
- Updated label naming convention from "atomic_" to "atom_" to ensure
consistency in labeling.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
  • Loading branch information
anyangml authored Jul 13, 2024
1 parent 714eb11 commit e7add45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deepmd/tf/loss/tensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def label_requirement(self) -> List[DataRequirementItem]:
# data required
data_requirements.append(
DataRequirementItem(
"atomic_" + self.label_name,
"atom_" + self.label_name,
self.tensor_size,
atomic=True,
must=False,
Expand Down

0 comments on commit e7add45

Please sign in to comment.