meanap.pipeline.runner¶
Top-level pipeline runner, orchestrating steps to mirror MEApipeline.m.
Functions
Default output folder name, matching MATLAB's |
|
|
Run the pipeline steps in |
- meanap.pipeline.runner.default_output_folder_name()[source]¶
Default output folder name, matching MATLAB’s
'OutputData' + ddmmmyyyy.- Return type:
str
- meanap.pipeline.runner.run_pipeline(params, log=<built-in function print>, should_cancel=None)[source]¶
Run the pipeline steps in
[start_analysis_step, stop_analysis_step].Creates the same output folder tree as the MATLAB pipeline (
CreateOutputFolders.m) up front, then runs each requested step. Steps 1-4 are all implemented (seepython/PIPELINE_PORT_STATUS.mdfor which parts of each step have exact MATLAB parity vs. are deterministic approximations / not yet ported).should_cancel, if given, is polled at step boundaries and once per recording inside each step; when it returnsTruethe run unwinds by raisingPipelineCancelled. Callers that offer a Stop button should catch that and treat it as a clean stop.- Parameters:
params (Params)
log (Callable[[str], None])
should_cancel (Callable[[], bool] | None)
- Return type:
Path