Hi Francois,
After estimating the source with MNE for each subject, I want to project the sources to default anatomy for group analysis. I used a script to run the process, which looks as followed:
file2=dir(fullfile([data_path,'sub1', SubjectNames{1},filesep,'run1_*',filesep,'data_',markername{n_marker},'_average_*.mat']));
file1=dir(fullfile([data_path,'sub1', SubjectNames{1},filesep,'run1_*',filesep,'results_MN*.mat']));
% Input files
sFiles=['link|',file1.folder,filesep,file1.name,'|',file2.folder,filesep,file2.name];
% Start a new report
bst_report('Start', sFiles);
sFiles = bst_process('CallProcess', 'process_project_sources', sFiles, [], ...
'headmodeltype', 'surface'); % Cortex surface
ReportFile = bst_report('Save', sFiles);
bst_report('Open', ReportFile);
I got some pop-out warning window complaining about "the projection method is outdated and inaccurate” and without any errors. However, when I right-clicked the source files, -> “Project Sources (1)” -> “Default Anatomy” -> “cortex_15002V”, I did not get the warning. I wondered if any parameter was incorrectly set in my script? And how could I get the scripts or functions when I right-click the files?
Cheers
Suhan
PS: the MRI for each subject was transformed with Freesurfer, the brainstorm was the latest one.