Skip to content

Commit

Permalink
fix: fix atomic numbers in MACE (although it's useless) (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
njzjz authored Nov 23, 2024
1 parent 0d51c62 commit 41a6866
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deepmd_gnn/mace.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,8 @@
]

PeriodicTable = {
**{ee: ii for ii, ee in enumerate(ELEMENTS)},
**{f"m{ee}": ii for ii, ee in enumerate(ELEMENTS)},
**{ee: ii + 1 for ii, ee in enumerate(ELEMENTS)},
**{f"m{ee}": ii + 1 for ii, ee in enumerate(ELEMENTS)},
"HW": 1,
"OW": 8,
}
Expand Down

0 comments on commit 41a6866

Please sign in to comment.