# HG changeset patch # User melissacline # Date 1421268443 28800 # Node ID ca4510434edac3bb29df75e385e5ac1dbbc3cc5f # Parent 8bb037f88ed24017f45c9b516baa1dfd2b8a2f0b Moved the xena delete functionality into xena admin diff -r 8bb037f88ed2 -r ca4510434eda xenaAdmin.xml --- a/xenaAdmin.xml Tue Jan 13 23:37:23 2015 -0500 +++ b/xenaAdmin.xml Wed Jan 14 12:47:23 2015 -0800 @@ -6,12 +6,12 @@ #if $adminAction.actionType == "backup": xena_backup.py ${adminAction.backupDir} $outfile + #else if $adminAction.actionType == "restore": + xena_restore.py ${adminAction.restoreDir} $outfile + #else if $adminAction.actionType == "delete": + xena_delete.py ${adminAction.datasetId} $outfile #else: - #if $adminAction.actionType == "restore": - xena_restore.py ${adminAction.restoreDir} $outfile - #else: - runXena.py ${adminAction.actionType} $outfile - #end if + runXena.py ${adminAction.actionType} $outfile #end if @@ -22,6 +22,7 @@ + @@ -29,6 +30,9 @@ + + + @@ -44,6 +48,8 @@ Administer the Galaxy-embedded Xena by starting it, stopping it or checking its status. If you start Xena, or if you check the status while Xena is running, the output will indicate a URL for the Xena server that you can enter in the Xena Data Hub tool. After you add a new data hub with this URL, and select it, you will be able to see the data from this Xena in the Xena browser. With this tool, you can also backup the data from your Galaxy-embedded Xena to an external directory on the same computer, and can restore data from a previous backup into the Xena database. If you wish to restore data, Xena must be running first. + +Finally, you can use this tool to remove a dataset from the Galaxy-embedded local Xena. Simply indicate the dataset by Dataset ID, which you will find under the Xena Data Pages. diff -r 8bb037f88ed2 -r ca4510434eda xena_delete.xml --- a/xena_delete.xml Tue Jan 13 23:37:23 2015 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,17 +0,0 @@ - - - Given the name of a dataset, delete it from the local Xena-embedded Galaxy. - - - xena_delete.py $dataset $outfile - - - - - - - - - This tool will delete a dataset from the local Galaxy-embedded Xena database, given the name of the dataset. The names of the datasets can be seen through the Xena Data Hub tool, by selecting the local Galaxy-embedded Xena as the hub and viewing the datasets contained in that hub. This tool works only for the local Xena-embedded Galaxy. - - diff -r 8bb037f88ed2 -r ca4510434eda xena_utils.pyc Binary file xena_utils.pyc has changed