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 FutureWarning of non-tuple index sequences #5

Open
Jacob-Stevens-Haas opened this issue Apr 6, 2021 · 0 comments
Open

Fix FutureWarning of non-tuple index sequences #5

Jacob-Stevens-Haas opened this issue Apr 6, 2021 · 0 comments

Comments

@Jacob-Stevens-Haas
Copy link
Collaborator

Jacob-Stevens-Haas commented Apr 6, 2021

/home/ozymandias/documents/github/adcp/adcp/viz.py:63: FutureWarning: Using a non-tuple sequence for multidimensional indexing is deprecated; use `arr[tuple(seq)]` instead of `arr[seq]`. In the future this will be interpreted as an array index, `arr[np.array(seq)]`, which will result either in an error or a different result.
  sinking_depths = adcp_depths[sinking_inds]
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

No branches or pull requests

1 participant