MICA-MNI / BrainSpace

BrainSpace is an open-access toolbox that allows for the identification and analysis of gradients from neuroimaging and connectomics datasets | available in both Python and Matlab |
http://brainspace.readthedocs.io
BSD 3-Clause "New" or "Revised" License
185 stars 75 forks source link

[FIX] Use NumPy's float64 dtype #87

Closed ghisvail closed 1 year ago

ghisvail commented 1 year ago

numpy.float is deprecated since numpy version 1.20 in favour of the built-in float type or the numpy.float64 dtype.

ghisvail commented 1 year ago

As a bit of context, this was caught in Clinica's CI which calls BrainSpace through BrainStat.

ReinderVosDeWael commented 1 year ago

Hi, firstly thanks for reporting this and providing a PR to boot. LGTM.

@OualidBenkarim?