Closed AmeliaFord353 closed 2 months ago
In combine_DL.py, an error occurs if there is a Prel_DL value that is not finite, in the line Prel /= sum(Prel)
Prel /= sum(Prel)
A solution was to add the line Prel[~np.isfinite(Prel_DL) | np.isnan(Prel_DL)] = 0.0 just before the Prel value is calculated.
Prel[~np.isfinite(Prel_DL) | np.isnan(Prel_DL)] = 0.0
In combine_DL.py, an error occurs if there is a Prel_DL value that is not finite, in the line
Prel /= sum(Prel)
A solution was to add the line
Prel[~np.isfinite(Prel_DL) | np.isnan(Prel_DL)] = 0.0
just before the Prel value is calculated.