Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This file is supposed to be optional, so why an error is raised when it is not provided?

ask BL team

Error when running a pipeline with optional files

The Apps created as part of the MEEG Brainlife project are supposed to be run one after another. Thus the output of an App will be the input of another.

To test how it works, I decided to apply app-bad-channels and then app-maxfilter

First attempt:

  • app-bad-channels: no optional files present in file mapping

  • app-maxfilter: no optional files listes in file mapping

Result: it works fine

Second attempt:

  • app-bad-channels: optional files present in file mapping

  • app-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

The optional file is indeed not in out_dir_bad_channels.

To solve this issue, I can save the optionnal files in out_dir_bad_channels, but a better way to circumvert may exist. Ask BL Team.