From d2f7b0c053e93b4d409d9661dbaff2eedcf391c1 Mon Sep 17 00:00:00 2001
From: Samo Penic <samo.penic@gmail.com>
Date: Sat, 14 Jan 2017 22:06:35 +0000
Subject: [PATCH] Added analyses collection file into trisurf package

---
 networkedExample.py |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/networkedExample.py b/networkedExample.py
index a38856f..6e61051 100755
--- a/networkedExample.py
+++ b/networkedExample.py
@@ -35,10 +35,13 @@
 	print("here comes info on the args variable:")
 	print(kwargs.get('args',None))
 
-
+def testWebAnalysis(run, **kwargs):
+	print("Simulations are located in "+run.Dir.fullpath())
+	print("\n\nStatistics file:")
+	print(run.Statistics.readText())
 
 hosts=({'name':'natalie','address':'kabinet.penic.eu', 'runs':Runs, 'username':'samo', 'remotebasepath':'simulations-test/subdir/subdir'},
 	{'name':'Hestia','address':'127.0.0.1', 'runs':Runs, 'username':'samo'})
-analyses={'analysis1':analyze,}
+analyses={'analysis1':analyze,'webReport':testWebAnalysis}
 
 tsmgr.start(hosts, analyses=analyses)

--
Gitblit v1.9.3