02/19/2018 at 12:46 AM #4205
Greetings to the group,
i am trying to normalize the preop and postop MRI. Using SPM12 SHOOT nonlinear. I get the dialog asking to generate some files needed to be done once. I click proceed and after a while i get the error message below. I am running a 16GB i7 machine. I am running matlab R2016a, SMP 12 and lead dbs latest version. any ideas?
Segmenting preoperative version (Import to DARTEL-space)
Running job #2
SPM12: spm_preproc_run (v6365) 23:33:58 – 18/02/2018
Segment J:\Medical imaging workstation\lead\templates\space\MNI_ICBM_2009b_NLIN_ASYM\t1.nii,1
Error using spm_mrf
First and second args have incompatible dimensions.
In file “J:\Medical imaging workstation\spm12\spm_preproc_write8.m” (v6881), function “spm_preproc_write8” at line 286.
In file “J:\Medical imaging workstation\spm12\spm_preproc_run.m” (v6365), function “run_job” at line 146.
In file “J:\Medical imaging workstation\spm12\spm_preproc_run.m” (v6365), function “spm_preproc_run” at line 41.
In file “J:\Medical imaging workstation\spm12\config\spm_cfg_preproc8.m” (v6798), function “spm_local_preproc_run” at line 418.
The following modules did not run:
Error using MATLABbatch system
Job execution failed. The full log of this run can be found in MATLAB command window, starting with
the lines (look for the line showing the exact #job as displayed in this error message)
Running job #2
Error while evaluating UIControl Callback02/19/2018 at 8:53 AM #4208andreashornKeymaster
there seems to be something off in this – likely due to SPM version compatibility. We’ll check and let you know.
In the meantime, maybe try normalization with ANTs (SyN low variance + subcortical refine protocol)?
This seems to be the best protocol currently implemented in Lead-DBS (at least for STN and GPi).
Best, Andy02/19/2018 at 3:44 PM #4210ningfeiKeymaster
This has just been fixed. You may try the Lead menu
Install development version of Leador download the updates from here (and then extract the zip file into your Lead folder). Let me know if you still have problem.
Ningfei02/20/2018 at 12:34 AM #4215
Thank for the immediate help with hotfix. The process went a little bit further but then gave the following error:
Running job #1
Running ‘3D to 4D File Conversion’
Done ‘3D to 4D File Conversion’
Reference to non-existent field ‘volnum’.
Error in ea_newseg (line 34)
tpmnum = tpmHdr.volnum;
Error in ea_newseg_pt (line 12)
Error in ea_normalize_spmshoot (line 66)
Error in ea_autocoord (line 154)
eval([options.normalize.method,'(options)’]); % triggers the normalization function and passes the
options struct to it.
Error in ea_run (line 96)
Error in lead_dbs>run_button_Callback (line 187)
Error in gui_mainfcn (line 95)
Error in lead_dbs (line 43)
Error while evaluating UIControl Callback02/20/2018 at 8:53 AM #4216ningfeiKeymaster
Sorry to know it still didn’t work for you. You may apply the hotfix again and see if it works now. I just updated the hotfix.
Ningfei02/24/2018 at 9:52 PM #4252
Now it is working fine – much appreciated
Nik02/24/2018 at 11:19 PM #4257andreashornKeymaster
- The forum ‘Support Forum (ARCHIVED – Please use Slack Channel instead)’ is closed to new topics and replies.