From 3625bf359a25928180a66561da57daf276546158 Mon Sep 17 00:00:00 2001 From: pyiron-runner Date: Wed, 15 Nov 2023 15:46:28 +0000 Subject: [PATCH] Format black --- pyiron_atomistics/vasp/base.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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: