Trisurf Monte Carlo simulator
Samo Penic
2016-07-07 d6583ebf40c9e99bfbec3652f8ef8639160f5fb6
Another fix. still not working if we have inititer.
1 files modified
5 ■■■■■ changed files
python/trisurf/tsmgr.py 5 ●●●●● patch | view | raw | blame | history
python/trisurf/tsmgr.py
@@ -3,7 +3,7 @@
from . import Remote
from . import trisurf
import socket
import sys
import os,sys
import tabulate
import subprocess,re
import psutil
@@ -203,7 +203,8 @@
def preview_vtu(args,host):
    #only for localhost at the moment
    filename=host['runs'][0].getLastVTU()
    Dir=trisurf.Directory(maindir=host['runs'][0].maindir,simdir=host['runs'][0].subdir)
    filename=os.path.join("./",Dir.fullpath(),host['runs'][0].getLastVTU())
    print(filename)
    if sys.version_info>=(3,0):
        print("Preview works only with python 2.7")