Skip to content

Commit

Permalink
compatible with tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AndresOrtegaGuerrero committed Nov 22, 2024
1 parent e73305e commit cc97933
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aiidalab_qe/common/bands_pdos/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def get_bands_data(outputs, fermi_energy=None):
bands_data["fermi_energy"] = (
fermi_energy
if fermi_energy is not None
else outputs.band_parameters.get("fermi_energy")
else outputs.band_parameters["fermi_energy"]
)

bands_data["pathlabels"] = _get_bands_labeling(bands_data)
Expand Down

0 comments on commit cc97933

Please sign in to comment.