Generating a script: error message about advanced options

Hi,
I'm triing to generate a script from pipeline error but I get an error message:

Note that when I click to edit Morlet wavelet options, the window doesn't open.

Indeed, to generate a script it is required to enter the advance Morlet wavelet options, but that window requires the actual data to be opened.

For the time being, you will have to import your epoched data first in a separate pipeline, sorry for the inconvenience.

@Francois what would be the best way to remedy this?

Indeed this is a limitation of the current script generator.
Import 1 second of recordings, generate the script corresponding to the time-frequency decomposition of this file, and then copy-paste the code at the end of the import script.

So, I split the pipeline in 2 parts. And my scripts work. But I'm not sure that I choose the "right" moment to add channels position :

Please copy-paste your script here.

I found the problem. But, is it normal that the output of process_channel_addloc, InputFiles_Channel, is empty?

% Start a new report
bst_report('Start', sFiles);

% Process: Import MEG/EEG: Existing epochs
InputFiles = bst_process('CallProcess', 'process_import_data_epoch', sFiles, , ...
'subjectname', SubjectNames{1}, ...
'condition', 'All', ...
'datafile', {{RawFiles{1}}, 'EEG-EEGLAB'}, ...
'iepochs', , ...
'eventtypes', 'S2100', ...
'createcond', 0, ...
'channelalign', 1, ...
'usectfcomp', 1, ...
'usessp', 1, ...
'freq', , ...
'baseline', );

% Process: Add EEG positions
InputFiles_Channel = bst_process('CallProcess', 'process_channel_addloc', InputFiles, , ...
'channelfile', {RawFiles{2}, RawFiles{2}}, ...
'usedefault', 21, ... % Colin27: BrainProducts EasyCap 64
'fixunits', 1, ...
'vox2ras', 1);

No, it is not normal.
I fixed the code for this process: https://github.com/brainstorm-tools/brainstorm3/commit/bcfeeeb23aeae12c57072cc0c96bc5ee6b0b7beb

Update Brainstorm and try again.
Francois

Ok, thanks. But I'm afraid that I've another problem: I am n't able to download the update...

BST> Checking internet connectivity... failed
BST> Could not check for Brainstorm updates.
BST> Initializing user interface...
BST> Starting OpenGL engine... hardware
BST> Reading plugins folder...
BST> Loading current protocol...
BST> =================================

BST> Update: Unable to download updates.
BST> Error: File to download does not exist.

Sorry, this is another problem we’re trying to fix (moving from HTTP to HTTPS).
If you want to update Brainstorm now, simply delete your existing brainstorm3 folder and download a new one from the website.

It’s working! Thank you :slight_smile: