Skip to content

Commit 29048ab

Browse files
committed
fix tot mag per fu
1 parent af70d0b commit 29048ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

atomate/vasp/firetasks/parse_outputs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1464,7 +1464,7 @@ def run_task(self, fw_spec):
14641464
d["calcs_reversed"][0]["composition_reduced"].values()
14651465
) / sum(d["calcs_reversed"][0]["composition_unit_cell"].values())
14661466
total_magnetization_per_formula_unit = (
1467-
total_magnetization / num_formula_units
1467+
total_magnetization * num_formula_units
14681468
)
14691469
total_magnetization_per_unit_volume = (
14701470
total_magnetization / final_structure.volume

0 commit comments

Comments
 (0)