From 991618a8939a08dc3700ddf3de64c1129dcc8461 Mon Sep 17 00:00:00 2001 From: hagrid67 <jdhwatson@gmail.com> Date: Sat, 5 Sep 2020 22:34:53 +0100 Subject: [PATCH] increase cell timeout from default 30s to 120s in run_all_notebooks.py --- notebooks/run_all_notebooks.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/notebooks/run_all_notebooks.py b/notebooks/run_all_notebooks.py index 98ed6a06..20f6e119 100644 --- a/notebooks/run_all_notebooks.py +++ b/notebooks/run_all_notebooks.py @@ -65,7 +65,8 @@ def main(): print("*****************************************************************") with path('notebooks', entry) as file_in: - out, err = run_python(" -m jupyter nbconvert --execute --to notebook --inplace " + str(file_in)) + out, err = run_python(" -m jupyter nbconvert --ExecutePreprocessor.timeout=120 " + + "--execute --to notebook --inplace " + str(file_in)) sys.stderr.write(err) sys.stderr.flush() sys.stdout.write(out) -- GitLab