External Email - Use Caution        

If the brain scans went through successfully already, in an older dev version, 
do they need to be reprocessed?

Victor Zeng
Beth Israel Deaconess Medical Center
Keshavan Lab
--
________________________________
From: freesurfer-boun...@nmr.mgh.harvard.edu 
<freesurfer-boun...@nmr.mgh.harvard.edu> on behalf of Iglesias Gonzalez, Juan 
E. <jiglesiasgonza...@mgh.harvard.edu>
Sent: Thursday, July 28, 2022 11:28 AM
To: Freesurfer support list <freesurfer@nmr.mgh.harvard.edu>
Subject: [External] Re: [Freesurfer] Problem with hypothalamus subunits?

Thanks for reporting this bug, Victor. I just fixed it. The fix will be 
propagated to the development version in the next couple of days but, if you 
want, you can keep using the version you’ve got by adding the flag --crop 1000  
(where 1000 is a number bigger than your image size in any dimension). That 
will have the same effect as the fix.

Cheers,

Eugenio

Juan Eugenio Iglesias
http://secure-web.cisco.com/1LMNPJidJYLz4yMjaDO-plzlRUw5d2xLuSCKJ3NmoysnXsKX_MfAEVcrUs0CB40fNbG6fuxKgPPM9HejKgvkaLzMo44TzgynC3MmXr7bayyVpkSMSSzOkI-JLa6-7u9G-gfbWEYMc9BdcoomCdKvHmqEkFv0JJ7cDuYKhrMMY6lCTtqi789h0P5SQU4slHK0PJg_dW9iovOeSJdUkt1FgEBBoLvtebnGanYv7zCDxkoLgfBQSPUG1id6lf4jGV1JAM3o1xWfmx_lqcULefCqLyGx-e0DgHt63f2KjZlNDyTDKd9a4pRazXN0or3xcXgXLvkdLUHDJ7t3oboc1kxdDyA/http%3A%2F%2Fwww.jeiglesias.com<https://secure-web.cisco.com/1SvJlqsOt4t8fOzGSdJrwT8_rfW9IHAygfli13bL-1VIIG--SdQ6Oa6lM9P0tjN-cZ8Z6771C5yer7qD8FpcAUDSs_6uhnPqUIHSzIireOP32OvagqngX5Lgv4AA-QYwknsO4Y-xJsnuLAJICEwxIayZeGgpfggosAepXW4DuWVZYFI8YGFoy8cqIsEIwHPG3Lbc9rBCgTwTUn0vWXCxW_NK6lp6COVOVIZ9uQUew-pJTDtY8iRc-WnCbuNT5Fy1si3NdCXTMHhvcXOkKMt4TiOrY64Yq9V1r0mapPvwxuOAzd0ZXMHqY681KuOKbfsSporQb47r467zxS3F8xVabtw/https%3A%2F%2Furldefense.com%2Fv3%2F__http%3A%2F%2Fwww.jeiglesias.com__;!!CvMGjuU!9JF2ykkeTRylDypr31sBenYcoKGF3v7TYNRnlwT6ORv-rYtpIVPryMxMYA-NNT8_dZjejPL7rLo0QkpoeWvneHWmq0w8tdBAyrnFHoDWyg$>

On Jul 27, 2022, at 15:03, Zeng, Victor (BIDMC - Keshavan - Psychiatry) 
<vz...@bidmc.harvard.edu<mailto:vz...@bidmc.harvard.edu>> wrote:

        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<mailto:Freesurfer@nmr.mgh.harvard.edu>
https://secure-web.cisco.com/18aHiOtwPLTWrp1XVdNBa0-5xIoCo9pRKjJL8LZS5Em2-I6_LEPtvFbBZgCvuNi-ZQim1fC4UtpfkPeaBslCbQoFyrQeUt6VSsGjgphwX7H9_gzw00QJZ28oeNYTnweUy1CGvgGRp2qDk_x79c84YYyVrpKhHbXOHGAFUvVdKFMewSfgu6RqEp6o8I1R4FnV1r4oU7DmHDAT68CPMyuFpdzutsNEYDB1oJ6ybDUhr42bzp8n68HeVyC3Capw3W7CpUIe60KyY5w_CtKu1jXUj7IUoWzmns6RscrAE7Ex8vFfaJhM3Aul_6ZcSGSEx_WXgwCQLC3lLRUWH7KCOSPQ1vw/https%3A%2F%2Fmail.nmr.mgh.harvard.edu%2Fmailman%2Flistinfo%2Ffreesurfer<https://secure-web.cisco.com/1KDkIobaYbYgMajMhH4WNXblJBf7DWXdpZxAOuLGhFuY9UoUmQ2ehB0YGVsT2fak086O16yy93sQm1G590SD2vtueuxGe0jbBzCPQYFjB5m-diBZhBR0-HtIz7s-2cFfn7uDfHJYGXTwKvf0cm3hgY-t3I2iwVS2rQ92YntATlzZp5D66CYdo-v5ooAwdqR7vcMymnEnr8YrFM13DoYUzEI56M29dOF53VUuN45ugDS-u5olO5VFOGtyv5ZbDzgdArAwroerSjK8WTO2Bh5dfLsah2_jmCzYMlXuxnLc7K4O4Nisr7m1YH16L2N8mxpOXd9_WAnwprktWVjh7OOT_3Q/https%3A%2F%2Furldefense.com%2Fv3%2F__https%3A%2F%2Fmail.nmr.mgh.harvard.edu%2Fmailman%2Flistinfo%2Ffreesurfer__;!!CvMGjuU!9JF2ykkeTRylDypr31sBenYcoKGF3v7TYNRnlwT6ORv-rYtpIVPryMxMYA-NNT8_dZjejPL7rLo0QkpoeWvneHWmq0w8tdBAyrntpMDdXA$>

_______________________________________________
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