Skip to content

Commit daf7da3

Browse files
authored
pip install papermill
papermill provides a bunch of nice features for executing notebooks, including ones not provided by nbconvert. Some key features we want: * dump cell output to logs * stop on cell error, but still include cell output up to the errored cell
1 parent 816fffa commit daf7da3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -487,6 +487,9 @@ RUN jupyter-nbextension disable nb_conda --py --sys-prefix && \
487487
jupyter-nbextension disable nbpresent --py --sys-prefix && \
488488
jupyter-serverextension disable nbpresent --py --sys-prefix
489489

490+
# Install papermill so it can replace nbconvert as a method to execute notebooks.
491+
RUN pip install papermill
492+
490493
# Set backend for matplotlib
491494
ENV MPLBACKEND "agg"
492495

0 commit comments

Comments
 (0)