X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=reports%2Frun.sh;h=9d67a84f7ab3f17cc5bb9c441ca4e5553d035c74;hb=4d376294a6286ca1548d978055731dac175ffa3a;hp=93df861be92835a93c3abe4ba5143aa21da8b87b;hpb=0e789b3a35c296898da99bc0a13bcad56ff14ad3;p=talweg.git diff --git a/reports/run.sh b/reports/run.sh index 93df861..9d67a84 100755 --- a/reports/run.sh +++ b/reports/run.sh @@ -1,13 +1,11 @@ #!/bin/sh -# Usage: ./run.sh P H +# Usage: ./run.sh file[no_suffix] P H -nbfile=report_P$1_H$2.ipynb -./ipynb_generator.py report.gj $nbfile P=$1 H=$2 +./ipynb_generator.py $1.gj - P=$2 H=$3 -htmlfile=report_P$1_H$2.html jupyter-nbconvert \ --ExecutePreprocessor.kernel_name='ir' \ --ExecutePreprocessor.timeout=1800 \ - --execute $nbfile \ - --to notebook --output report.ipynb -# --to html --output=$htmlfile + --execute $1.ipynb \ + --to notebook --output $1.out.ipynb +# --to html --output=$1.html