provide a field to upload a file as part of tool input
Hi all - I have a custom tool that can optionally take a file as input. Right now, users have to upload the file into their history, then select the file when running the tool. Is there a way to let the user select a file local on their computer as input to the tool, then when run, the file is uploaded? And (second question), how can I make this field optional, such that the user does not need to provide a file at all when running the tool? Right now, my input field is: <param name="factorSheet" type="data" label="Factor Sheet" help="Select a factor sheet (if any)." />
I figured out the optional part (RTFM to myself) <param name="factorSheet" type="data" label="Factor Sheet" help="Select a factor sheet (if any)." optional="true" /> On Fri, Aug 5, 2016 at 6:54 PM, Ryan G <ngsbioinformatics@gmail.com> wrote:
Hi all - I have a custom tool that can optionally take a file as input.
Right now, users have to upload the file into their history, then select the file when running the tool.
Is there a way to let the user select a file local on their computer as input to the tool, then when run, the file is uploaded?
And (second question), how can I make this field optional, such that the user does not need to provide a file at all when running the tool?
Right now, my input field is:
<param name="factorSheet" type="data" label="Factor Sheet" help="Select a factor sheet (if any)." />
Hi Ryan, Am 06.08.2016 um 00:54 schrieb Ryan G:
Hi all - I have a custom tool that can optionally take a file as input.
Right now, users have to upload the file into their history, then select the file when running the tool.
Is there a way to let the user select a file local on their computer as input to the tool, then when run, the file is uploaded?
This is currently not possible.
And (second question), how can I make this field optional, such that the user does not need to provide a file at all when running the tool?
Right now, my input field is:
<param name="factorSheet" type="data" label="Factor Sheet" help="Select a factor sheet (if any)." />
As you already figured out optional="True" :) Ciao, Bjoern
___________________________________________________________ Please keep all replies on the list by using "reply all" in your mail client. To manage your subscriptions to this and other Galaxy lists, please use the interface at: https://lists.galaxyproject.org/
To search Galaxy mailing lists use the unified search at: http://galaxyproject.org/search/mailinglists/
participants (2)
-
Björn Grüning
-
Ryan G