mwaskom / lyman

Data pipelines and analysis library for functional MRI

Home Page:http://www.cns.nyu.edu/~mwaskom/software/lyman

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Future warnings about numpy indexing changes

mwaskom opened this issue · comments

Unclear if these are tripped by lyman code or a dependency...

lyman/tests/test_glm.py::TestLinearModel::()::test_image_prewhitening_outputs
  /home/mwaskom/anaconda/envs/lyman-dev/lib/python3.6/site-packages/mkl_fft/_numpy_fft.py:158: 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.
    output = mkl_fft.fft(a, n, axis)

lyman/tests/test_glm.py::TestLinearModel::()::test_residual_autocorrelation_outputs
  /home/mwaskom/anaconda/envs/lyman-dev/lib/python3.6/site-packages/mkl_fft/_numpy_fft.py:158: 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.
    output = mkl_fft.fft(a, n, axis)

lyman/tests/test_glm.py::TestLinearModel::()::test_iterative_ols_fit
  /home/mwaskom/anaconda/envs/lyman-dev/lib/python3.6/site-packages/mkl_fft/_numpy_fft.py:158: 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.
    output = mkl_fft.fft(a, n, axis)

lyman/tests/test_glm.py::TestLinearModel::()::test_iterative_contrast_estimation
  /home/mwaskom/anaconda/envs/lyman-dev/lib/python3.6/site-packages/mkl_fft/_numpy_fft.py:158: 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.
    output = mkl_fft.fft(a, n, axis)

lyman/tests/test_glm.py::TestLinearModel::()::test_prewhitened_glm_against_fsl
  /home/mwaskom/anaconda/envs/lyman-dev/lib/python3.6/site-packages/mkl_fft/_numpy_fft.py:158: 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.
    output = mkl_fft.fft(a, n, axis)

lyman/workflows/tests/test_model.py::TestModelWorkflows::()::test_model_fit
  /home/mwaskom/anaconda/envs/lyman-dev/lib/python3.6/site-packages/mkl_fft/_numpy_fft.py:158: 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.
    output = mkl_fft.fft(a, n, axis)

These seem to have gone away after some updates, suggesting they were upstream issues.