Skip to content

Commit

Permalink
set tot_magnetization
Browse files Browse the repository at this point in the history
  • Loading branch information
AndresOrtegaGuerrero committed Feb 27, 2025
1 parent dc1f333 commit 50d60e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/aiidalab_qe/app/configuration/advanced/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,3 +333,4 @@ def _set_pw_parameters(self, pw_parameters):
) # type: ignore
if "tot_magnetization" in system_params:
magnetization.type = "tot_magnetization"
magnetization.total = system_params["tot_magnetization"]

0 comments on commit 50d60e5

Please sign in to comment.