Python wrapper for running instances of trisurf-ng
Samo Penic
2017-01-07 4e6b885e743538debd7e216ebb76ebfcc57cb2af
trisurf/tsmgr.py
@@ -305,7 +305,11 @@
            remote_dir=host['remotebasepath']
         else:
            remote_dir='trisurf_simulations'
         output=host['_conn'].execute('python3 ./'+remote_dir+'/'+main.__file__+' -x '+" ".join(argv))
         #output=host['_conn'].execute('cd '+remote_dir)
         #print(remote_dir)
         #print(main.__file__)
         #print('python3 '+main.__file__+' -x '+" ".join(argv))
         output=host['_conn'].execute('cd '+remote_dir+ '; python3 '+main.__file__+' -x '+" ".join(argv))
         for line in output:
            print(line.replace('\n',''))