Mercurial > repos > david-hoover > local_file_tools
diff export_local_file.xml @ 8:01687750c862 draft
Uploaded
| author | david-hoover |
|---|---|
| date | Thu, 01 May 2014 17:11:57 -0400 |
| parents | e5a905df7e0b |
| children |
line wrap: on
line diff
--- a/export_local_file.xml Thu Oct 04 14:48:02 2012 -0400 +++ b/export_local_file.xml Thu May 01 17:11:57 2014 -0400 @@ -1,10 +1,12 @@ <?xml version="1.0"?> -<tool id="export_local_file" name="Export dataset" version="1.1.0"> +<tool id="export_local_file" name="Export dataset" version="1.2.0"> <description>to a local filesytem</description> <command interpreter="sh">export_local_file.sh $input '$filepath' $userEmail $output</command> <inputs> <param name="input" type="data" label="Dataset"/> - <param name="filepath" type="text" size="100" label="Absolute file path" /> + <param name="filepath" type="text" size="100" label="Absolute file path" value="/home/foo/blah"> + <validator type="expression" message="The path must begin with either /home or /data">value.lower()[0:5] == '/home' or value.lower()[0:5] == '/data'</validator> + </param> </inputs> <outputs> <data format="txt" name="output" label="local export: $filepath" /> @@ -15,7 +17,7 @@ **Copying files** -This tool will allow you to export a single file from Galaxy to a local filesystem. +This tool will allow you to export a single file from Galaxy to a local filesystem on Helix or Biowulf. You must have permission to write the file to the given directory, and the file must not yet exist. This tool will not overwrite a pre-existing file. @@ -26,6 +28,8 @@ - The file path must be a file, not a directory - You must give the fullpath to the file (/home/user/myfile.txt, not ./myfile.txt) - You must have permission to write the file in the given directory +- Only /home or /data directories are allowed. +- The directories must exist on Helix or Biowulf! -----
