File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
src/aiidalab_qe/app/result Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,9 @@ def generate_report_parameters(qeapp_wc):
105105 energy_cutoff_wfc = pw_parameters ["SYSTEM" ]["ecutwfc" ]
106106 energy_cutoff_rho = pw_parameters ["SYSTEM" ]["ecutrho" ]
107107 occupation = pw_parameters ["SYSTEM" ]["occupations" ]
108- scf_kpoints_distance = qeapp_wc .inputs .relax .base .kpoints_distance .value
108+ scf_kpoints_distance = (
109+ qeapp_wc .inputs .relax .base .kpoints_distance .base .attributes .get ("value" )
110+ )
109111 report .update (
110112 {
111113 "energy_cutoff_wfc" : energy_cutoff_wfc ,
@@ -146,7 +148,7 @@ def generate_report_parameters(qeapp_wc):
146148
147149 if "pdos" in qeapp_wc .inputs :
148150 report ["nscf_kpoints_distance" ] = (
149- qeapp_wc .inputs .pdos .nscf .kpoints_distance .value
151+ qeapp_wc .inputs .pdos .nscf .kpoints_distance .base . attributes . get ( " value" )
150152 )
151153 return report
152154
You can’t perform that action at this time.
0 commit comments