Mercurial > repos > melissacline > ucsc_xena_platform
diff xena_utils.py @ 36:d64a002c3b0c
modify
author | jingchunzhu |
---|---|
date | Fri, 24 Jul 2015 11:39:31 -0700 |
parents | a3fbe077a14c |
children |
line wrap: on
line diff
--- a/xena_utils.py Thu Jul 23 16:14:33 2015 -0700 +++ b/xena_utils.py Fri Jul 24 11:39:31 2015 -0700 @@ -41,15 +41,6 @@ return False return (content == "3.0") - """ - query = "wget -q -O- http://%s:%s/data/'(+ 1 2)'" % (hostname, xenaPort) - try: - result = subprocess.check_output(query, shell=True) - except: - return False - else: - return(result == "3.0") - """ def findUnusedPort(): """Find a random port that is available on the local system, and return