You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One should check if nel-alpha < len(neig_spin1)
if true we can assume LUMO_alpha as eig_alpha[nel_alpha] and the same for LUMO_beta (if UKS)
if not the calculation did not have added_mos still a GAP could be available (e.g. if MO_CUBES with NLUMO>0 was specified)
and one could parse:
In many cases a CP2K calculation will not have "ADDED_MOS" and the assumption LUMO = nel+1 is wrong
aiida-cp2k/aiida_cp2k/parsers/__init__.py
Line 148 in 3807418
One should check if nel-alpha < len(neig_spin1)
if true we can assume LUMO_alpha as eig_alpha[nel_alpha] and the same for LUMO_beta (if UKS)
if not the calculation did not have added_mos still a GAP could be available (e.g. if MO_CUBES with NLUMO>0 was specified)
and one could parse:
patch for the wrong gap in the parser
The text was updated successfully, but these errors were encountered: