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