Mercurial > repos > melissacline > ucsc_xena_platform
diff runXena.py @ 32:63b1ba1e3424
server status message more accurate -- http
author | jingchunzhu <jingchunzhu@gmail.com> |
---|---|
date | Tue, 21 Jul 2015 23:01:26 -0700 |
parents | bb84d3bc5308 |
children | 7ceb967147c3 |
line wrap: on
line diff
--- a/runXena.py Tue Jul 21 21:09:37 2015 -0700 +++ b/runXena.py Tue Jul 21 23:01:26 2015 -0700 @@ -84,8 +84,8 @@ # with hostname and port. If it's not running, then report as such. # if xenaIsRunning: - fp.write("Xena VM currently running on %s:%s\n" % (hostname, xenaPort)) - fp.write("You can add %s:%s to Xena Data Hub\n" % (hostname, xenaPort)) + fp.write("Xena VM currently running on http://%s:%s\n" % (hostname, xenaPort)) + fp.write("You can add http://%s:%s to Xena Data Hub\n" % (hostname, xenaPort)) else: fp.write("Xena VM is not currently running on %s\n" % (hostname)) @@ -98,10 +98,10 @@ # if not xenaIsRunning: xenaPort = xena.port(testIfAvailable=True, findNewPort=True) - fp.write("Starting Xena VM on %s:%s\n" % (hostname, xenaPort)) + fp.write("Starting Xena VM on http://%s:%s\n" % (hostname, xenaPort)) fp.write("You can add http://%s:%s to Xena Data Hub\n" % (hostname, xenaPort)) else: - fp.write("Xena VM already running on %s:%s\n" % (hostname, xenaPort)) + fp.write("Xena VM already running on http://%s:%s\n" % (hostname, xenaPort)) fp.write("You can add http://%s:%s to Xena Data Hub\n" % (hostname, xenaPort)) fp.close() @@ -112,7 +112,7 @@ # report as such. # if xenaIsRunning: - fp.write("Terminating Xena VM on %s:%s\n" % (hostname, xenaPort)) + fp.write("Terminating Xena VM on http://%s:%s\n" % (hostname, xenaPort)) else: fp.write("Xena VM is not currently running on %s\n" % (hostname))