Jupyter notebook as task in an ewoks workflow
https://papermill.readthedocs.io/en/latest/usage-execute.html#execute-via-the-python-api
from papermill import execute_notebook
execute_notebook(
'path/to/input.ipynb',
'path/to/output.ipynb',
parameters=dict(alpha=0.6, ratio=0.1)
)
This supports inputs, execution and saving the notebook with output cells (plots + stdout).
We need to do something for outputs.