nipy / niwidgets

Neuroimaging widgets for jupyter notebooks
http://www.nipy.org/niwidgets
Other
84 stars 34 forks source link

Tiny numpy FutureWarning fix for multidimenstional array indexing #59

Closed ZviBaratz closed 4 years ago

ZviBaratz commented 4 years ago

Changed 'slice_obj' to 'tuple(slice_obj)' when used to index the multidimensional 'data' array. This is meant to both comply with future numpy versions and silence the FutureWarning that is currently displayed. Resolves #58.

janfreyberg commented 4 years ago

Awesome, thanks for doing that so quickly! I left one comment - hopefully once that's fixed the CI pipeline will pass!

janfreyberg commented 4 years ago

Awesome, thank you!