Skip to content

Commit

Permalink
Merge pull request #303 from Exabyte-io/feat/SOF-6927
Browse files Browse the repository at this point in the history
SOF-6927: add optional label to atomic symbol for spin magnetic calculation
  • Loading branch information
timurbazhirov authored Mar 20, 2024
2 parents 6fb68a8 + 7348ec5 commit c6ff0ab
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
3 changes: 1 addition & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions schema/properties_directory/structural/basis.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,20 @@
"$ref": "basis/atomic_element.json"
}
},
"labels": {
"description": "Optional numeric label (e.g., 1, 2, as in Fe1, Fe2) to distinguish same atomic species to attach different spin magnetic moment.",
"type": "array",
"items": {
"properties": {
"id": {
"type": "number"
},
"value": {
"type": "number"
}
}
}
},
"coordinates": {
"type": "array",
"items": {
Expand Down
2 changes: 1 addition & 1 deletion src/py/mat3ra/esse/data/schemas.py

Large diffs are not rendered by default.

0 comments on commit c6ff0ab

Please sign in to comment.