Skip to content

Commit

Permalink
Hotfix missing aiida 2.0 compatibility update
Browse files Browse the repository at this point in the history
  • Loading branch information
ramirezfranciscof committed Aug 29, 2022
1 parent cb32be5 commit 2a08a99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aiida_quantumespresso/workflows/pw/bands.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def inspect_relax(self):
return self.exit_codes.ERROR_SUB_PROCESS_FAILED_RELAX

self.ctx.current_structure = workchain.outputs.output_structure
self.ctx.current_number_of_bands = workchain.outputs.output_parameters.get_attribute('number_of_bands')
self.ctx.current_number_of_bands = workchain.outputs.output_parameters.base.attributes.get('number_of_bands')

def run_seekpath(self):
"""Run the structure through SeeKpath to get the normalized structure and path along high-symmetry k-points .
Expand Down

0 comments on commit 2a08a99

Please sign in to comment.