NormalizeMeanToMid
EEMS command causes a confusing error with arrays of all 0
and the IgnoreZeros
option
#14
Labels
bug
Something isn't working
When
NormalizeMeanToMid
is passed an array of all0
values, and theIgnoreZeros
options is used, the mean is calculated as essentially:This results in a
nan
value, which when used to determine values below the mean, causes the following exception:An error is appropriate in this case, but we should recognize this case and raise a more user-friendly exception.
The text was updated successfully, but these errors were encountered: