dkriegner / xrayutilities

xrayutilities - a package with useful scripts for X-ray diffraction physicists
http://xrayutilities.sourceforge.io
GNU General Public License v2.0
83 stars 29 forks source link

numpy 1.25 deprecation warnings #167

Closed dkriegner closed 1 year ago

dkriegner commented 1 year ago

The tests produce many warnings like this one:

##[warning]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.)

This affects multiple parts of the code.