Skip to content
Snippets Groups Projects

Feat/user notebooks

Merged Robert Rosca requested to merge feat/user-notebooks into master
Compare and
8 files
+ 301
29
Compare changes
  • Side-by-side
  • Inline
Files
8
+ 3
2
@@ -10,6 +10,7 @@ caltype=$6
@@ -10,6 +10,7 @@ caltype=$6
final=$7
final=$7
finalize=$8
finalize=$8
cluster_cores=$9
cluster_cores=$9
 
notebook_python_path=$10
echo "Running with the following parameters:"
echo "Running with the following parameters:"
echo "Notebook path: $nb_path"
echo "Notebook path: $nb_path"
@@ -43,8 +44,8 @@ fi
@@ -43,8 +44,8 @@ fi
echo "Running notebook"
echo "Running notebook"
${python_path} -m princess ${nb_path} --save --on-error-resume-next
${notebook_python_path} -m princess ${nb_path} --save --on-error-resume-next
${python_path} -m nbconvert --to rst --TemplateExporter.exclude_input=True ${nb_path}
${notebook_python_path} -m nbconvert --to rst --TemplateExporter.exclude_input=True ${nb_path}
# stop the cluster if requested
# stop the cluster if requested
if [ "${ipcluster_profile}" != "NO_CLUSTER" ]
if [ "${ipcluster_profile}" != "NO_CLUSTER" ]
Loading