External Email - Use Caution        

Hi Freesurfer experts,
I have been encountering following errors after running segment_subregions command.
I am using freesurfer version 7.3.2, Recon -all -all has been done with the option -cm

segment_subregions thalamus --cross sub-0049 

Step 1: preprocessing inputs for thalamus segmentation

Running command: mri_convert /var/folders/dl/1zpqwlt95bnfb3ydwm2mqd1w0000gn/T/tmp8ppe_a7y/tempImage.mgz /var/folders/dl/1zpqwlt95bnfb3ydwm2mqd1w0000gn/T/tmp8ppe_a7y/tempImage.mgz -odt float -rt cubic -vs 0.5 0.5 0.5

Preprocessing took 22 seconds


Step 2: aligning atlas to reference segmentation

Traceback (most recent call last):

  File "/Applications/freesurfer/7.3.2/python/scripts/segment_subregions", line 99, in <module>

    subregions.run_cross_sectional(args.structure, parameters)

  File "/Applications/freesurfer/7.3.2/python/packages/freesurfer/subregions/process.py", line 52, in run_cross_sectional

    model.align_atlas_to_seg()

  File "/Applications/freesurfer/7.3.2/python/packages/freesurfer/subregions/core.py", line 240, in align_atlas_to_seg

    mask = mask.resize(1, interp='nearest')

TypeError: resize() got an unexpected keyword argument 'interp'

(base) abdullah@BadaliMac recon-all %


Kind regards

Md. Mamun Al-Amin, PhD
---------------------------
Postdoctoral Fellow
Stark Neuroscience Research Institute

Indiana University School of Medicine

320 W. 15th Street, NB Bldg Rm 103

Indianapolis, IN 46202