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

FIX: Updates code to fix scalar warnings. #1673

Merged
merged 3 commits into from
Oct 23, 2024

Conversation

zssherman
Copy link
Collaborator

@zssherman zssherman commented Oct 23, 2024

I fixed this by calling .items() to pull from the array. Also checks, similar to radar utils, if the arrays are 1 or more (mobile radar).

Closes #1671

I fixed this by calling .items() to pull from the array. Also checks
similar to radar utils if the arrays are 1 or more (mobile radar).
@mgrover1
Copy link
Collaborator

@zssherman - can you pull in the latest updates to main? This will resolve the docs building issue

@zssherman
Copy link
Collaborator Author

@mgrover1 Sounds good! I pulled those changes in.

Copy link
Collaborator

@mgrover1 mgrover1 left a comment

Choose a reason for hiding this comment

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

Looks great - thanks @zssherman

@mgrover1 mgrover1 merged commit ec7759c into ARM-DOE:main Oct 23, 2024
18 checks passed
@zssherman zssherman deleted the warning_fixes branch November 11, 2024 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future.
2 participants