summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Arteaga <andyspiros@gmail.com>2012-02-27 16:04:00 +0100
committerAndrea Arteaga <andyspiros@gmail.com>2012-02-27 16:04:00 +0100
commit1eac5313477a1143d7b17ae6f130c6f099da4a69 (patch)
tree1d60faeda6c6f25341188487aa3c8d98d9849066
parentSolved problems with lapack and report. Reordered sample configuration files. (diff)
downloadauto-numerical-bench-1eac5313477a1143d7b17ae6f130c6f099da4a69.tar.gz
auto-numerical-bench-1eac5313477a1143d7b17ae6f130c6f099da4a69.tar.bz2
auto-numerical-bench-1eac5313477a1143d7b17ae6f130c6f099da4a69.zip
Restore copy logs and input file.
-rw-r--r--numbench/report.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/numbench/report.py b/numbench/report.py
index c080b1f..ecb13b0 100644
--- a/numbench/report.py
+++ b/numbench/report.py
@@ -108,6 +108,10 @@ def saveReport():
fname = pjoin(cfg.reportdir, imgpath)
p.savePlot(fname)
html.addFig(testdescr[operation], image=imgpath)
+
+ # Copy logs and input file
+ copytree(cfg.logdir, pjoin(cfg.reportdir, 'log'))
+ fcopy(cfg.inputfile, pjoin(cfg.reportdir, basename(cfg.inputfile)));
# Close HTML file
html.close()