External Email - Use Caution        

Hi all,
I've downloaded a new dev version of FS 7/19/2022 - and I receive an error with 
running subunits:

mri_segment_hypothalamic_subunits --s 10893/
using 1 thread
/mnt/QBERT/freesurfer/python/scripts/mri_segment_hypothalamic_subunits:1023: 
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).

* deprecated from version: 3.0
* Will raise <class 'nibabel.deprecator.ExpiredDeprecationError'> as of 
version: 5.0
  volume = np.squeeze(x.get_data())
predicting 1/1

the following problem occured when preprocessing image /..../0893/mri/nu.mgz :
'NoneType' object is not subscriptable
resuming program execution


segmentation  saved in:    /..../10893/mri/hypothalamic_subunits_seg.v1.mgz
volumes saved in:          /..../10893/mri/hypothalamic_subunits_volumes.v1.csv
resampled images saved in: 
/..../10893/mri/hypothalamic_subunits_nu_resampled_1mm.v1.mgz

If you use this tool in a publication, please cite:
Automated segmentation of the hypothalamus and associated subunits in brain MRI
B. Billot, M. Bocchetta, E. Todd, A. V. Dalca, J. D. Rohrer, J. E. Iglesias
NeuroImage 2020



Is this a problem with tensorflow? It does not seem clear. No files are 
actually being written

Victor Zeng
Beth Israel Deaconess Medical Center
Keshavan Lab
--
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
The information in this e-mail is intended only for the person to whom it is 
addressed.  If you believe this e-mail was sent to you in error and the e-mail 
contains patient information, please contact the Mass General Brigham 
Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline 
<https://www.massgeneralbrigham.org/complianceline> .
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 

Reply via email to