From 03046a38a4e51b11f68b4817afb2aa6ebb50c95e Mon Sep 17 00:00:00 2001
From: Thomas Kluyver <thomas@kluyver.me.uk>
Date: Fri, 18 Jun 2021 16:58:23 +0100
Subject: [PATCH] Stop execution on notebook errors

---
 bin/slurm_calibrate.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/slurm_calibrate.sh b/bin/slurm_calibrate.sh
index d1baf806b..1c644da12 100755
--- a/bin/slurm_calibrate.sh
+++ b/bin/slurm_calibrate.sh
@@ -46,7 +46,7 @@ fi
 
 
 echo "Running notebook"
-${python_path} -m princess ${nb_path} --save --on-error-resume-next
+${python_path} -m princess ${nb_path} --save
 ${cal_python_path} -m nbconvert --to rst --TemplateExporter.exclude_input=True ${nb_path}
 
 # stop the cluster if requested
-- 
GitLab