The Apps created as part of the MEEG Brainlife project are supposed to be run one after another (see How to run Apps one after another). Thus the output of an App will be the input of another.
...
app-bad-channels:
no optional files present in file mappingapp-maxfilter
: no optional files listes in file mapping
Result: it works fine
Second attempt
app-bad-channels
: optional files present in file mappingapp-maxfilter
: optional files present in file mapping
Result: app-bad-channels
works but app-maxfilter
failed:
Code Block |
---|
OSError: trans file "../60618e5b750389e448ebecd7/out_dir_bad_channels/destination.fif" not found |
...
To do so, we add the following line to the main function helper.py (see Create a helper.py file) for each optional file:
Code Block |
---|
shutil.copy2(calibration_file, 'out_dir_bad_channels/calibration_meg.dat') |
...