Hello,
I am trying to generate a BEM surface, but I get a very. strange error:
Here is the subject zip: https://drive.google.com/file/d/1nOLpWjwogS4nGl9xNBya41aHNVHZN9y7/view?usp=share_link
BST> Emptying temporary directory...
Warning: File not found:
/Volumes/CrucialX8/bst_db/Protocol33/anat/https://neuroimage.usc.edu/bst/getupdate.php?t=ICBM152_2023b/tess_cortex_pial_low.mat
> In file_fullpath (line 68)
In in_tess_bst (line 43)
In tess_envelope (line 86)
In tess_bem (line 103)
In process_generate_bem>Compute (line 133)
In process_generate_bem>ComputeInteractive (line 171)
In process_generate_bem (line 24)
In bst_call (line 28)
In tree_callbacks>@(h,ev)bst_call(@process_generate_bem,'ComputeInteractive',iSubject,iAnatomy) (line 3208)
***************************************************************************
** Error: Line 45: in_tess_bst
** Surface file not found:
** https://neuroimage.usc.edu/bst/getupdate.php?t=ICBM152_2023b/tess_cortex_pial_low.mat
** You should reload this protocol (right-click > reload).
**
** Call stack:
** >in_tess_bst.m at 45
** >tess_envelope.m at 86
** >tess_bem.m at 103
** >process_generate_bem.m>Compute at 133
** >process_generate_bem.m>ComputeInteractive at 171
** >process_generate_bem.m at 24
** >bst_call.m at 28
** >tree_callbacks.m>@(h,ev)bst_call(@process_generate_bem,'ComputeInteractive',iSubject,iAnatomy) at 3208
**
***************************************************************************
Edouard
So, in tess_bem, sTemplate.FilePath is 'https://neuroimage.usc.edu/bst/getupdate.php?t=ICBM152_2023b' ?
Actually, one weird thing is ICBM152 is getting dowloaded again each time i create a new protocol.
Edit: So i deleted the files in /Users/edelaire1/Documents/software/brainstorm3/defaults/anatomy and /Volumes/CrucialX8/bst_db/Workshop/anat/Users/edelaire1/.brainstorm/defaults/anatomy/ and downloadted the template again, now i have:
Warning: File not found:
/Volumes/CrucialX8/bst_db/Workshop/anat/Users/edelaire1/.brainstorm/defaults/anatomy/ICBM152.zip/tess_cortex_pial_low.mat
> In file_fullpath (line 68)
In in_tess_bst (line 43)
In tess_envelope (line 86)
In tess_bem (line 103)
In process_generate_bem>Compute (line 133)
In process_generate_bem>ComputeInteractive (line 171)
In process_generate_bem (line 24)
In bst_call (line 28)
In tree_callbacks>@(h,ev)bst_call(@process_generate_bem,'ComputeInteractive',iSubject,iAnatomy) (line 3208)
K>>
Kind of. If only 'ICBM152' is indicated, and there is not ICBM152 template, Brainstorm downloads the latest release: ICBM153_2023b
Do you have template files in brainstorm3/defaults/anatomy?
, that's the place where ICBM152 (2023b) is downloaded.
Does that template gets automatically downloaded (in brainstorm3/defaults/anatomy ) on starting Brainstorm?
ok. i restarted brainstorm and its working. It did download the template and extracted to brainstorm3/defaults/anatomy. I dont know what happened before, sorry 
It could be that brainstorm3/defaults/anatomy was deleted after starting Brainstorm. It may be related to your local Git configuration, as this anatomy dir nos not part of the brainstorm3 repo.