Hi, I am creating a tool to convert format. The tool will read from the original file, convert the format, then output. Should I put a "Browser" button like the example tool "Get Data -> Upload File" or I should put a simple input textbox, let the user paste the input file path? You can see the original tool here: http://hiv-dev.lanl.gov:8081/content/sequence/FORMAT_CONVERSION/form.html Simply speaking, how can I implement the "Upload File" button. I try to add <param name="filePath" type="file" size="30" label="Or upload your file:" ajax-upload="true"/> to the xml file of the tool. The UI looks right, but when I click "execute", nothing happens. Thanks
On Wed, Oct 27, 2010 at 1:09 AM, Zhe Chen <zhe@lanl.gov> wrote:
Hi,
I am creating a tool to convert format. The tool will read from the original file, convert the format, then output.
Should I put a "Browser" button like the example tool "Get Data -> Upload File" or I should put a simple input textbox, let the user paste the input file path?
I'd do neither - instead mimic the existing conversion tools - you should take a file input of the required format (the user can then select a previously uploaded dataset, or the results of a previous tool). Your conversion tool shouldn't handle uploading a file to Galaxy. i.e. <param ... type="data" format="xxx" ...> Peter
participants (2)
-
Peter
-
Zhe Chen