Lead-DBS
  • Home
  • About
    • Quickstart Primer (Post-OP MR-Scans)
    • Data & Code inclusion philosophy
    • Quickstart Primer (Post-OP CT-Scans)
    • Deep Brain Stimulation
    • Lead Connectome
    • Publications
    • List of Lead-DBS dependencies
    • Citing Lead-DBS
  • News
  • Contact
  • Help/Support
    • Manual
    • Knowledge Base
      • Atlases/Resources
        • Subcortical Atlases (MNI-Space)
        • Cortical Atlas Parcellations (MNI-Space)
        • Macaque Atlases (MNI-Space)
        • The DISTAL atlas
        • FEM-based VTA model
        • Normative Connectomes
      • Lead-DBS Methods
        • Subcortical Electrophysiology Mapping (SEM)
        • AC/PC to MNI conversion
        • Connectivity Benefit Mapping
      • Other Videos
      • Screenshots
      • Walkthrough-Videos
    • Slack User Channel
    • Forum
  • Workshops
    • Past workshops
      • Berlin 2016
      • Shanghai September 2018
      • Hamburg February 2019
    • Berlin September 2019
    • Machine Learning – Berlin September 2019
    • Brisbane February 2020
  • Download
  • Lead-Connectome
  • Search
  • Menu Menu

UIControl Callback error on normalisation

You are here: Home1 / Forums2 / Support forum ARCHIVED – Please use Slack Channel instead3 / UIControl Callback error on normalisation4
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • 02/19/2018 at 12:46 AM #4205
    Nik Haliasos
    Participant

    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
    ————————————————————————
    Running ‘Segment’

    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
    Failed ‘Segment’
    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:
    Failed: Segment

    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 Callback

    02/19/2018 at 8:53 AM #4208
    andreashorn
    Keymaster

    Hi nhaliasos,

    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, Andy

    02/19/2018 at 3:44 PM #4210
    ningfei
    Keymaster

    Hi nhaliasos,

    This has just been fixed. You may try the Lead menu Install -> Install development version of Lead or download the updates from here (and then extract the zip file into your Lead folder). Let me know if you still have problem.

    Best,
    Ningfei

    02/20/2018 at 12:34 AM #4215
    Nik Haliasos
    Participant

    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’
    Done

    Segmentation…
    Reference to non-existent field ‘volnum’.

    Error in ea_newseg (line 34)
    tpmnum = tpmHdr.volnum;

    Error in ea_newseg_pt (line 12)
    ea_newseg(directory,presentfiles,dartel,options,del,force)

    Error in ea_normalize_spmshoot (line 66)
    ea_newseg_pt(options,1,1);

    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)
    ea_autocoord(options);

    Error in lead_dbs>run_button_Callback (line 187)
    ea_run(‘run’,options);

    Error in gui_mainfcn (line 95)
    feval(varargin{:});

    Error in lead_dbs (line 43)
    gui_mainfcn(gui_State, varargin{:});

    Error in
    matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)lead_dbs(‘run_button_Callback’,hObject,eventdata,guidata(hObject))
    Error while evaluating UIControl Callback

    02/20/2018 at 8:53 AM #4216
    ningfei
    Keymaster

    Hi nhaliasos,

    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.

    Best,
    Ningfei

    02/24/2018 at 9:52 PM #4252
    Nik Haliasos
    Participant

    Now it is working fine – much appreciated

    Nik

    02/24/2018 at 11:19 PM #4257
    andreashorn
    Keymaster

    Great!

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘Support forum ARCHIVED – Please use Slack Channel instead’ is closed to new topics and replies.

Your Account

Log In
Register

Forum Statistics

Registered Users
130
Forums
1
Topics
185
Replies
607
Topic Tags
81

Subscribe to our newsletter

Latest Tweets

  • Tweet Avatar
    leaddbs
    @leaddbs
    RT @neumann_wj: Our #ECG contamination paper on implantable bidirectional brain stimulation systems is live. Great and fast paced c… https://t.co/Rkwp86ZxKE

    7h
  • Tweet Avatar
    leaddbs
    @leaddbs
    RT @andreashorn_: Clinically relevant study showing ECG artifacts are higher when IPG implanted on the left side. 👏👏 this will likely… https://t.co/ostng3NZxN

    7h
  • Tweet Avatar
    leaddbs
    @leaddbs
    Interesting single center case series with CM + ANT-DBS vs. CM-DBS only in 16 children and adults with drug-resista… https://t.co/0gzbgQlHud

    1d

Recent Posts

  • Lead-DBS on the cover of NeuroImage
  • Lead-DBS on the cover of Biological Psychiatry
  • Lead-DBS on the cover of Annals of Neurology
  • Crucial methodological updates for Lead-DBS
  • 2nd Lead-DBS Workshop in Shanghai, China

Archives

  • September 2020
  • June 2019
  • November 2018
  • September 2018
  • August 2018
  • March 2018
  • November 2017
  • September 2017
  • July 2017
  • April 2017
  • July 2016
  • June 2016
  • May 2016
  • March 2016
  • December 2015
  • November 2015
  • April 2015
  • January 2015
  • December 2014
  • October 2014
  • September 2014
  • July 2014
  • June 2014

Impressum & Datenschutzerklärung

Scroll to top