Commit 9179921
committed
fix(ase): aviod duplicate stress calculation for ase calculator (deepmodeling#4633)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Refactor**
- Revised the logic behind stress evaluation to ensure results are
produced reliably when complete input is provided, and error
notifications are triggered appropriately when essential data is
missing.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->1 parent ee9c29b commit 9179921
1 file changed
Lines changed: 10 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
0 commit comments