projects
/
talweg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
CLEANING
[talweg.git]
/
reports
/
run.sh
diff --git
a/reports/run.sh
b/reports/run.sh
index
d108199
..
9d67a84
100755
(executable)
--- a/
reports/run.sh
+++ b/
reports/run.sh
@@
-1,12
+1,11
@@
#!/bin/sh
#!/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 \
jupyter-nbconvert \
--ExecutePreprocessor.kernel_name='ir' \
--ExecutePreprocessor.timeout=1800 \
- --to html --execute $nbfile \
- --output=$htmlfile
+ --execute $1.ipynb \
+ --to notebook --output $1.out.ipynb
+# --to html --output=$1.html