diff --git a/aiida_fleur/workflows/scf.py b/aiida_fleur/workflows/scf.py index 0f2c155e8..82e8ced38 100644 --- a/aiida_fleur/workflows/scf.py +++ b/aiida_fleur/workflows/scf.py @@ -722,6 +722,10 @@ def get_res(self): 'Assuming that the calculatin should be continued') self.ctx.last_nmmp_distance = self.ctx.wf_dict['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] + def condition(self): """ check convergence condition