diff --git a/src/aiida_wannier90_workflows/workflows/optimize.py b/src/aiida_wannier90_workflows/workflows/optimize.py index 3be7fe3..e8f3641 100644 --- a/src/aiida_wannier90_workflows/workflows/optimize.py +++ b/src/aiida_wannier90_workflows/workflows/optimize.py @@ -528,7 +528,9 @@ def run_wannier90_optimize(self): } # Disable the error handler which might modify dis_proj_min - handler_overrides = {"handle_disentanglement_not_enough_states": False} + handler_overrides = { + "handle_disentanglement_not_enough_states": {"enabled": False} + } inputs["handler_overrides"] = orm.Dict(handler_overrides) inputs = prepare_process_inputs(Wannier90BaseWorkChain, inputs)