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

non-tuple sequence for multidimensional indexing is deprecated #3

@donovanr

Description

@donovanr

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)]?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions