IUSCA / IUSM-ConnPipe

Refactored version of the IU School of Medicine neuroscience connectivity pipeline that executes pre-processing of anatomical, functional, and diffusion Magnetic Resonance Imaging data (written in Python and Bash).
Other
3 stars 2 forks source link

Deprecation warning fo python get_data() #131

Closed echumin closed 9 months ago

echumin commented 2 years ago

python /N/project/adniCONN/IUSM-ConnPipe/src/func/delta_EDDY.py /N/project/adniCONN/datadir/002_S_4213_72m/DTI/EDDY/eddy_output 0_DWI

path_DWI_EDDY /N/project/adniCONN/datadir/002_S_4213_72m/DTI/EDDY DWIpath /N/project/adniCONN/datadir/002_S_4213_72m/DTI fileOut /N/project/adniCONN/datadir/002_S_4213_72m/DTI/EDDY/eddy_output dwifile 0_DWI DWI file is: /N/project/adniCONN/datadir/002_S_4213_72m/DTI/0_DWI.nii.gz /N/project/adniCONN/IUSM-ConnPipe/src/func/delta_EDDY.py:18: DeprecationWarning: get_data() is deprecated in favor of get_fdata(), which has a more predictable return type. To obtain get_data() behavior going forward, use numpy.asanyarray(img.dataobj).

echumin commented 9 months ago

updated.