mdanalysis icon indicating copy to clipboard operation
mdanalysis copied to clipboard

Array to scalar deprecation warning

Open IAlibay opened this issue 2 years ago • 8 comments

From nightly wheels cron CI:

2023-11-03T03:16:21.1300895Z /home/runner/work/mdanalysis/mdanalysis/package/MDAnalysis/analysis/nuclinfo.py:302: 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.) 2023-11-03T03:16:21.1302468Z phase_ang = (atan2(D, C) + (pi / 2.)) * 180. / pi

IAlibay avatar Nov 05 '23 11:11 IAlibay

Hello I feel this is a good first issue for me , would be glad to take this up

Yash-g17 avatar Feb 19 '24 14:02 Yash-g17

@Yash-g17 sorry for the delayed response. You (and anybody else) is very welcome to take on any issue. Please create a PR and in the issue text include this issue number, which links your PR to this issue.

orbeckst avatar Mar 25 '24 23:03 orbeckst