From c4db3f2c68368fbdcee0ece0034030bbf479bdb5 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 4 Jul 2022 21:51:47 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- aiida_fleur/workflows/scf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aiida_fleur/workflows/scf.py b/aiida_fleur/workflows/scf.py index 50fd29e40..fde273dc7 100644 --- a/aiida_fleur/workflows/scf.py +++ b/aiida_fleur/workflows/scf.py @@ -727,7 +727,7 @@ def get_res(self): self.report('No LDA+U distance found but only one iteration performed\n' 'Assuming that the calculatin should be continued') self.last_nmmp_distance = self.ctx.wf_dict.get('nmmp_converged') + 1 - + if self.ctx.hubbard1_occ_distance: self.ctx.last_hubbard1_occ_distance = self.ctx.hubbard1_occ_distance[-1] self.ctx.last_hubbard1_elem_distance = self.ctx.hubbard1_elem_distance[-1]