diff --git a/pyiron_atomistics/vasp/base.py b/pyiron_atomistics/vasp/base.py index 9833dbf92..b52b0d4c4 100644 --- a/pyiron_atomistics/vasp/base.py +++ b/pyiron_atomistics/vasp/base.py @@ -2019,8 +2019,12 @@ def collect(self, directory=os.getcwd(), sorted_indices=None): "n_elect" ] if len(self.outcar.parse_dict["magnetization"]) > 0: - magnetization = np.array(self.outcar.parse_dict["magnetization"], dtype=object) - final_magmoms = np.array(self.outcar.parse_dict["final_magmoms"], dtype=object) + magnetization = np.array( + self.outcar.parse_dict["magnetization"], dtype=object + ) + final_magmoms = np.array( + self.outcar.parse_dict["final_magmoms"], dtype=object + ) # magnetization[sorted_indices] = magnetization.copy() if len(final_magmoms) != 0: if len(final_magmoms.shape) == 3: