Description

Render jupyter (or jupytext) notebooks to HTML reports. Supports parametrization through papermill.

Input

name:type
description
pattern

meta

:map

Groovy Map containing sample information e.g. [ id:‘test’, single_end:false ]

notebook

:file

Jupyter notebook or jupytext representation thereof

*.{ipynb,py,md,Rmd,myst}

parameters

:map

Groovy map with notebook parameters which will be passed to papermill in order to create parametrized reports.

input_files

:file

One or multiple files serving as input data for the notebook.

*

kernel_

:string

Name of the kernel to use.

Output

name:type
description
pattern

report

meta

:map

Groovy Map containing sample information e.g. [ id:‘test’, single_end:false ]

*.html

:file

HTML report generated from Jupyter notebook

*.html

artifacts

meta

:map

Groovy Map containing sample information e.g. [ id:‘test’, single_end:false ]

artifacts/

:directory

Directory containing all artifacts generated by the notebook

artifacts/

versions_jupytext

${task.process}

:string

The name of the process

jupytext

:string

The name of the tool

jupytext --version

:eval

The expression to obtain the version of the tool

versions_ipykernel

${task.process}

:string

The name of the process

ipykernel

:string

The name of the tool

python -c "import ipykernel; print(ipykernel.__version__)"

:eval

The expression to obtain the version of the tool

versions_nbconvert

${task.process}

:string

The name of the process

nbconvert

:string

The name of the tool

jupyter nbconvert --version

:eval

The expression to obtain the version of the tool

versions_papermill

${task.process}

:string

The name of the process

papermill

:string

The name of the tool

papermill --version | cut -f1 -d" "

:eval

The expression to obtain the version of the tool

Topics

name:type
description
pattern

versions

${task.process}

:string

The name of the process

jupytext

:string

The name of the tool

jupytext --version

:eval

The expression to obtain the version of the tool

${task.process}

:string

The name of the process

ipykernel

:string

The name of the tool

python -c "import ipykernel; print(ipykernel.__version__)"

:eval

The expression to obtain the version of the tool

${task.process}

:string

The name of the process

nbconvert

:string

The name of the tool

jupyter nbconvert --version

:eval

The expression to obtain the version of the tool

${task.process}

:string

The name of the process

papermill

:string

The name of the tool

papermill --version | cut -f1 -d" "

:eval

The expression to obtain the version of the tool