diff --git a/vars/transformPipeline.groovy b/vars/transformPipeline.groovy index fb2ddf6..7a23e92 100644 --- a/vars/transformPipeline.groovy +++ b/vars/transformPipeline.groovy @@ -28,6 +28,9 @@ steps { script { ansiColor('xterm') { + if (fileExists('main.py')) { + sh "jupytext --to notebook main.py" + } sh "jupyter-nbconvert --output-dir=out --ExecutePreprocessor.timeout=None --execute 'main.ipynb'" } }