Skip to content

Commit

Permalink
Update handler_overrides format (#54)
Browse files Browse the repository at this point in the history
The old format would be deprecated in new aiida version.
  • Loading branch information
jiang-yuha0 authored Jun 21, 2024
1 parent 8427c1d commit d6794cf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/aiida_wannier90_workflows/workflows/optimize.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d6794cf

Please sign in to comment.