X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=reports%2Frun.sh;h=9d67a84f7ab3f17cc5bb9c441ca4e5553d035c74;hb=3fd7377d1a3c33eb45803e43aab4e47b1c9f03f8;hp=a6b31cee6c89223769627d0131132017bbf7cfba;hpb=31f7d913d4a99d0a4db9bcfe40e31cebf90b22e6;p=talweg.git diff --git a/reports/run.sh b/reports/run.sh old mode 100644 new mode 100755 index a6b31ce..9d67a84 --- a/reports/run.sh +++ b/reports/run.sh @@ -1,3 +1,11 @@ #!/bin/sh +# Usage: ./run.sh file[no_suffix] P H -jupyter-nbconvert --ExecutePreprocessor.timeout=1800 --to notebook --execute report_2017-03-01.ipynb +./ipynb_generator.py $1.gj - P=$2 H=$3 + +jupyter-nbconvert \ + --ExecutePreprocessor.kernel_name='ir' \ + --ExecutePreprocessor.timeout=1800 \ + --execute $1.ipynb \ + --to notebook --output $1.out.ipynb +# --to html --output=$1.html