01/03/2019 at 8:09 PM #6260
Thank you for producing such an excellent resource! I’m new to Lead-DBS, running through Matlab R2018B on a MacBook. The pipe line seems to work very smoothly, but I’ve run into difficulties with the visualisation steps. visualisation in template space work very nicely, but when I try to visualise in native space, the following error message comes up:
Error using ea_smoothpatch (line 58)
The vertice list is not a m x 3 array
Error in ea_genatlastable (line 255)
Error in ea_showatlas (line 50)
Error in ea_elvis (line 331)
atlases = ea_showatlas(resultfig,elstruct,options);
Error in ea_write (line 42)
Error in ea_autocoord (line 316)
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 Callback.
All the steps prior to visualisation work fine (co-registrations, normalisations etc). I’d be very grateful on any advice on how to fix the error (and apologies in advance if this is something obvious I’m missing!).01/04/2019 at 1:06 PM #6264
Hi Daniel, could you try this with a different atlas (e.g. the DISTAL minimal) one first and see if that works?
I think the problem is of an empty nifti file which could happen in complicated atlases with small nuclei. We somehow nearly never work in native space, that’s why not every error is ironed out there.01/04/2019 at 10:21 PM #6267
Thank you so much for your quick reply. I’ve tried this PM with a number of the atlases and I get exactly the same error message.01/05/2019 at 12:45 AM #6270
thanks for reporting this since it was a real bug (only was able to test/reproduce today). I just fixed it and pushed the fix to github. In ~6 hours time or so, you should be able to run Install > Install Developer Version from the Lead-DBS GUI menu to get the fix installed. Then it should work again.
Could be you’d need to delete the /atlases folder inside your patient folder once but think it should work without that.
Best, Andy01/06/2019 at 6:19 PM #6282
Thanks again for taking the time to look into this. It seems to be working fine now!
Dan01/06/2019 at 6:22 PM #6283
Great, glad to hear! A
- You must be logged in to reply to this topic.