4c6a00e8f98415d7a2732ee2b8bbb173d10af254
[talweg.git] / reports / run.sh
1 #!/bin/sh
2 # Usage: ./run.sh file[no_suffix] P H
3
4 ./ipynb_generator.py $1.gj - P=$2 H=$3
5
6 # Timeout for 1 cell : 24*3600s = 24h
7 jupyter-nbconvert \
8 --ExecutePreprocessor.kernel_name='ir' \
9 --ExecutePreprocessor.timeout=86400 \
10 --execute $1.ipynb \
11 --to notebook --output $1.out.ipynb
12 # --to html --output=$1.html