The test test_sample_temperature_list in IntensityCorrectionAlgsTest is now failing. This is caused by the following deprecation warning: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
To fix this, sample_temperature in intensity_correction_algs needs to be updated when trying to convert a list of temperatures to a float.
The test
test_sample_temperature_list
inIntensityCorrectionAlgsTest
is now failing. This is caused by the following deprecation warning:DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
To fix this,
sample_temperature
inintensity_correction_algs
needs to be updated when trying to convert a list of temperatures to a float.