diff --git a/bin/slurm_calibrate.sh b/bin/slurm_calibrate.sh index 6c2ecfcfa0dcd3317eb719d9d4e5d3341b124c48..3ceb22f4d55deefa9f3256f45a8ba064c19d9229 100755 --- a/bin/slurm_calibrate.sh +++ b/bin/slurm_calibrate.sh @@ -45,8 +45,9 @@ then fi -echo "Running script" -${python_path} -m nbconvert --to rst --ExecutePreprocessor.timeout=36000 --ExecutePreprocessor.allow_errors=True --TemplateExporter.exclude_input=True --execute ${nb_path} +echo "Running notebook" +${python_path} -m princess ${nb_path} --save --on-error-resume-next +${python_path} -m nbconvert --to rst --TemplateExporter.exclude_input=True ${nb_path} # stop the cluster if requested if [ "${ipcluster_profile}" != "NO_CLUSTER" ] diff --git a/requirements.txt b/requirements.txt index 0623bb3d425dfca68f65cc172e62ce0518167547..04d5dfef29bcba5fce81f6f6c9cd66206cf14446 100644 --- a/requirements.txt +++ b/requirements.txt @@ -17,17 +17,18 @@ ipykernel == 5.1.4 ipython == 7.12.0 ipython_genutils == 0.2.0 Jinja2 == 2.11.2 -jupyter == 1.0.0 -jupyter_client == 5.3.4 +jupyter_client == 6.1.7 jupyter_console == 6.1.0 jupyter-core == 4.6.1 karabo_data == 0.7.0 lxml == 4.5.0 metadata_client == 3.0.5 +nbclient == 0.5.1 nbconvert == 5.6.1 nbformat == 5.0.7 numpy == 1.19.1 prettytable == 0.7.2 +princess == 0.2 pypandoc == 1.4 python-dateutil == 2.8.1 pyyaml == 5.3