It is not the first time that I hear users complaining that the subtract_self_energies is reporting incorrect shape, and this is usually caused by a corrupted dataset. To provide better error message, we should check for empty list inside subtract_self_energies, and raise an error with an informative message.
It is not the first time that I hear users complaining that the
subtract_self_energies
is reporting incorrect shape, and this is usually caused by a corrupted dataset. To provide better error message, we should check for empty list insidesubtract_self_energies
, and raise an error with an informative message.