Python wrapper for running instances of trisurf-ng
Samo Penic
2017-01-13 8b7022dd45f354a416867c257f8bdc254afe4e14
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'},
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}
analyses={'analysis1':analyze,}
tsmgr.start(hosts, analyses=analyses)