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

cookiecutter: fix np.array to scalar deprecation warning #107

Merged
merged 1 commit into from
Mar 14, 2025

Conversation

hoyer-a
Copy link
Member

@hoyer-a hoyer-a commented Mar 7, 2025

fix for

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

@hoyer-a hoyer-a requested a review from ahms5 March 7, 2025 09:27
@hoyer-a hoyer-a added this to the v0.6.2 milestone Mar 7, 2025
@hoyer-a hoyer-a mentioned this pull request Mar 7, 2025
2 tasks
Copy link
Member

@ahms5 ahms5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you

Copy link

@tluebeck tluebeck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks

@mberz mberz merged commit ed04efd into cookiecutter-main Mar 14, 2025
16 of 21 checks passed
@mberz mberz deleted the cookiecutter-main-fix-deprecation-warnings branch March 14, 2025 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants