diff --git a/src/aiida_quantumespresso/workflows/pdos.py b/src/aiida_quantumespresso/workflows/pdos.py index c846ce61d..df48dd2cb 100644 --- a/src/aiida_quantumespresso/workflows/pdos.py +++ b/src/aiida_quantumespresso/workflows/pdos.py @@ -441,7 +441,9 @@ def run_nscf(self): inputs.pw.parameters['SYSTEM']['nbnd'] = nbnd else: - inputs.pw.parameters['SYSTEM']['nbnd'] = self.ctx.workchain_scf.outputs.output_parameters['number_of_bands'] + inputs.pw.parameters['SYSTEM']['nbnd'] = ( + self.ctx.workchain_scf.outputs.output_parameters['number_of_bands'] + ) inputs.pw.structure = self.inputs.structure inputs.metadata.call_link_label = 'nscf'