Mercurial > repos > melissacline > ucsc_xena_platform
diff xena_delete.py @ 2:6eeb3ca663fb
Fixed dataset delete bugs (the full pathname was needed) plus changed xena_import to give a checkbox for turning on column normalization
author | melissacline |
---|---|
date | Wed, 14 Jan 2015 15:21:09 -0800 |
parents | 8bb037f88ed2 |
children | 98b498545a52 |
line wrap: on
line diff
--- a/xena_delete.py Wed Jan 14 12:47:23 2015 -0800 +++ b/xena_delete.py Wed Jan 14 15:21:09 2015 -0800 @@ -29,9 +29,11 @@ # is generated, output a traceback and exit with nonzero status. If # no exception was generated, indicate a successful import and exit # with zero status. - xenaDeleteCmd = "java -jar %s --delete %s -p %s" % (xena.jarPath(), - args.datasetName, - xena.port()) + xenaDeleteCmd = "java -jar %s --delete %s/%s -p %s" % (xena.jarPath(), + xenaFileDir, + args.datasetName, + xena.port()) + print "Issuing command", xenaDeleteCmd try: subprocess.call(xenaDeleteCmd, shell=True) except: