AllenCellModeling / czifile

czi reader from https://www.lfd.uci.edu/~gohlke/code/czifile.py.html
BSD 3-Clause "New" or "Revised" License
15 stars 6 forks source link

Numpy FutureWarning (py36, v0.1.5) #4

Open aplassetter opened 6 years ago

aplassetter commented 6 years ago

Attempting to use czifile within a Jupyter notebook installed via Anaconda and am seeing FutureWarning as so:

/anaconda3/lib/python3.6/site-packages/czifile/czifile.py:400: 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.
  out[index] = tile

Some quick searching seems to be a numpy warning regarding future deprecation.

https://github.com/numpy/numpy/issues/11411

Doesn't seem to be causing issues yet, but thought I would mention it.

eric-wieser commented 5 years ago

Fixed in #5