Hello Victor,

This is a known issue with the current dev version of 7.3.2.
You can find the patch here: https://surfer.nmr.mgh.harvard.edu/pub/dist/freesurfer/7.3.2-patch/synthsr/
Instructions are in the 'readme.txt'

Best,
Jackson

From: freesurfer-bounces@nmr.mgh.harvard.edu <freesurfer-bounces@nmr.mgh.harvard.edu> on behalf of Zeng, Victor (BIDMC - Keshavan - Psychiatry) <vzeng@bidmc.harvard.edu>
Sent: Friday, February 17, 2023 1:22 PM
To: freesurfer@nmr.mgh.harvard.edu <freesurfer@nmr.mgh.harvard.edu>
Subject: [Freesurfer] error with synthsr
 

        External Email - Use Caution        

Hi developers,

Using freesurfer-linux-centos7_x86_64-dev-20230216-9bc2be6, I receive an error following mri_synthsr. 

It says : 

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
* Raises <class 'nibabel.deprecator.ExpiredDeprecationError'> as of version: 5.0
resuming program execution

Since this seems to be a python problem, I am using python 3.7.7 and python 3.9.12, and neither seem to work. 

Thanks, 

Victor Zeng
Beth Israel Deaconess Medical Center
Keshavan Lab
--

PLEASE NOTE: This message is intended for the use of the person to whom it is addressed. It may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended recipient, your use of this message for any purpose is strictly prohibited. If you have received this communication in error, please delete the message and notify the sender so that we may correct our records. See our web page at http://www.bilh.org for a full directory of Beth Israel Lahey Health sites, staff, services and career opportunities.