Skip to content

Commit

Permalink
Do not set nbnd for pdos workchain to avoid conflict with `nbands_f…
Browse files Browse the repository at this point in the history
…actor` (aiidalab#1000)

Since `nbands_factor` is used in PdosWorkChain, thus we should not set `nbnd` anymore.
  • Loading branch information
superstar54 authored Dec 18, 2024
1 parent 9522470 commit 85ceafc
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/aiidalab_qe/plugins/pdos/workchain.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,6 @@ def get_builder(codes, structure, parameters, **kwargs):
def update_inputs(inputs, ctx):
"""Update the inputs using context."""
inputs.structure = ctx.current_structure
inputs.nscf.pw.parameters = inputs.nscf.pw.parameters.get_dict()
if ctx.current_number_of_bands:
inputs.nscf.pw.parameters.setdefault("SYSTEM", {}).setdefault(
"nbnd", ctx.current_number_of_bands
)


workchain_and_builder = {
Expand Down

0 comments on commit 85ceafc

Please sign in to comment.