nipreps / mriqc

Automated Quality Control and visual reports for Quality Assessment of structural (T1w, T2w) and functional MRI of the brain
http://mriqc.readthedocs.io
Apache License 2.0
299 stars 132 forks source link

np.float is deprecated #1139

Closed celprov closed 1 year ago

celprov commented 1 year ago

What happened?

Trying to run MRIQC 23.2.0 locally on my dataset

What command did you use?

mriqc /data/datasets/prisma-softupgrade /data/datasets/prisma-softupgrade/derivatives/mriqc-23.1.0 participant --participant-label V02 --verbose-reports  -w $HOME/tmp/mriqc/v23.1.0/prisma-softupgrade -vv

What version of the software are you running?

23.2.0

How are you running this software?

Local installation ("bare-metal")

Is your data BIDS valid?

Yes

Are you reusing any previously computed results?

No

Please copy and paste any relevant log output.

AttributeError: module 'numpy' has no attribute 'float'.
        `np.float` was a deprecated alias for the builtin `float`. To avoid this error in existing code, use `float` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.float64` here.

Additional information / screenshots

No response