From 8b8845e452b45b765c0c74a388296d10e91787fc Mon Sep 17 00:00:00 2001
From: Samo Penic <samo.penic@gmail.com>
Date: Tue, 28 Nov 2017 21:03:17 +0000
Subject: [PATCH] Changed the executabe to tssystem ;)

---
 networkedExample.py |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/networkedExample.py b/networkedExample.py
index 5552276..1464aff 100755
--- a/networkedExample.py
+++ b/networkedExample.py
@@ -2,7 +2,7 @@
 from trisurf import trisurf
 from trisurf import tsmgr
 
-
+from trisurf import analyses
 
 
 #Ok... Configure your keys:
@@ -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'},
+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,'webReport':testWebAnalysis,'runningavg':analyses.plotrunningavginteractive}
 
-analyses={'analysis1':analyze,}
 tsmgr.start(hosts, analyses=analyses)

--
Gitblit v1.9.3