projects
/
talweg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix report.gj
[talweg.git]
/
reports
/
run.sh
diff --git
a/reports/run.sh
b/reports/run.sh
index
93df861
..
044d00d
100755
(executable)
--- a/
reports/run.sh
+++ b/
reports/run.sh
@@
-1,13
+1,13
@@
#!/bin/sh
# Usage: ./run.sh P H
#!/bin/sh
# Usage: ./run.sh P H
-nbfile=report_P$1_H$2.ipynb
-./ipynb_generator.py report.gj $nbfile P=$1 H=$2
+./ipynb_generator.py report.gj - P=$1 H=$2
-htmlfile=report_P$1_H$2.html
+#htmlfile=report_P$1_H$2.html
+nbfile=report_P$1_H$2.ipynb
jupyter-nbconvert \
--ExecutePreprocessor.kernel_name='ir' \
--ExecutePreprocessor.timeout=1800 \
jupyter-nbconvert \
--ExecutePreprocessor.kernel_name='ir' \
--ExecutePreprocessor.timeout=1800 \
- --execute
$nbfile
\
- --to notebook --output
report.ipynb
+ --execute
report.ipynb
\
+ --to notebook --output
$nbfile
# --to html --output=$htmlfile
# --to html --output=$htmlfile