projects
/
talweg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
'update'
[talweg.git]
/
reports
/
run.sh
diff --git
a/reports/run.sh
b/reports/run.sh
index
93df861
..
9d67a84
100755
(executable)
--- a/
reports/run.sh
+++ b/
reports/run.sh
@@
-1,13
+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 \
- --execute $
nbfile
\
- --to notebook --output
repor
t.ipynb
-# --to html --output=$
htmlfile
+ --execute $
1.ipynb
\
+ --to notebook --output
$1.ou
t.ipynb
+# --to html --output=$
1.html