Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Array to scalar deprecation warning #4339

Open
IAlibay opened this issue Nov 5, 2023 · 2 comments
Open

Array to scalar deprecation warning #4339

IAlibay opened this issue Nov 5, 2023 · 2 comments

Comments

@IAlibay
Copy link
Member

IAlibay commented Nov 5, 2023

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

@Yash-g17
Copy link

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

@orbeckst
Copy link
Member

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants