Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

non-tuple sequence for multidimensional indexing is deprecated #3

Open
donovanr opened this issue Dec 18, 2020 · 0 comments
Open

non-tuple sequence for multidimensional indexing is deprecated #3

donovanr opened this issue Dec 18, 2020 · 0 comments

Comments

@donovanr
Copy link

getting warnings like this when aicsimageprocessing is called in actk

/allen/aics/apps/hpc_shared/mod/anaconda3-5.3.0/envs/rory_actk_new/lib/python3.8/site-packages/aicsimageprocessing/rigidAlignment.py:61: 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 ar
ray index, `arr[np.array(seq)]`, which will result either in an error or a different result.
  img = img[croprange]

maybe worth updating to arr[tuple(seq)]?

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

No branches or pull requests

1 participant