Commit | Line | Data |
---|---|---|
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 |