diff --git a/src/aiidalab_qe/app/result/summary_viewer.py b/src/aiidalab_qe/app/result/summary_viewer.py index 56fc2450..8b2e8be2 100644 --- a/src/aiidalab_qe/app/result/summary_viewer.py +++ b/src/aiidalab_qe/app/result/summary_viewer.py @@ -105,7 +105,9 @@ def generate_report_parameters(qeapp_wc): energy_cutoff_wfc = pw_parameters["SYSTEM"]["ecutwfc"] energy_cutoff_rho = pw_parameters["SYSTEM"]["ecutrho"] occupation = pw_parameters["SYSTEM"]["occupations"] - scf_kpoints_distance = qeapp_wc.inputs.relax.base.kpoints_distance.value + scf_kpoints_distance = ( + qeapp_wc.inputs.relax.base.kpoints_distance.base.attributes.get("value") + ) report.update( { "energy_cutoff_wfc": energy_cutoff_wfc, @@ -146,7 +148,7 @@ def generate_report_parameters(qeapp_wc): if "pdos" in qeapp_wc.inputs: report["nscf_kpoints_distance"] = ( - qeapp_wc.inputs.pdos.nscf.kpoints_distance.value + qeapp_wc.inputs.pdos.nscf.kpoints_distance.base.attributes.get("value") ) return report