tool with no inputs?
Hi all, Is that possible? As long as there is no <inputs> tag or if there is an empty inputs tag I get an error. When I provide an input it works. Is there a way around it? I need it to access a server that could take zero arguments. Cheers, Kostas
On Nov 18, 2010, at 10:34 AM, Kostas Karasavvas wrote:
Is that possible? As long as there is no <inputs> tag or if there is an empty inputs tag I get an error. When I provide an input it works.
Is there a way around it? I need it to access a server that could take zero arguments.
Hi Kostas, I looked into this a bit and it turned out to be a little harder to resolve then I thought. All the tools we currently have with no inputs are external websites, and in fact have some hidden inputs. These are handled as a special case. It isn't clear what the behavior should be if the tool is not an external web tool. Thus, I think I need more information on what you are trying to do. Can you elaborate? Maybe with a sample config file. -- jt James Taylor, Assistant Professor, Biology / Computer Science, Emory University
Hi James, Nothing complicated really. I want to run a script that takes no arguments. I tried: <inputs></inputs> but I get an error. Apparently, an input _has_ to be provided. Now I am just adding a radio button as Alex suggested to get around it. Cheers, Kostas On 1 December 2010 19:42, James Taylor <james@jamestaylor.org> wrote:
On Nov 18, 2010, at 10:34 AM, Kostas Karasavvas wrote:
Is that possible? As long as there is no <inputs> tag or if there is an empty inputs tag I get an error. When I provide an input it works.
Is there a way around it? I need it to access a server that could take zero arguments.
Hi Kostas, I looked into this a bit and it turned out to be a little harder to resolve then I thought. All the tools we currently have with no inputs are external websites, and in fact have some hidden inputs. These are handled as a special case. It isn't clear what the behavior should be if the tool is not an external web tool. Thus, I think I need more information on what you are trying to do. Can you elaborate? Maybe with a sample config file.
-- jt
James Taylor, Assistant Professor, Biology / Computer Science, Emory University
Excerpts from Kostas Karasavvas's message of Fri Dec 03 15:56:17 +0000 2010:
Nothing complicated really. I want to run a script that takes no arguments. I tried: <inputs></inputs> but I get an error. Apparently, an input _has_ to be provided. Now I am just adding a radio button as Alex suggested to get around it.
So in this case, when you click on the tool in the menu, you would want to see a tool form with nothing but an execute button?
In some cases, yes. I build the tools automatically. The goal is to enable execution of workflows (non-galaxy) to run through galaxy. If these workflows have no inputs then I just want an execute button. Kostas On 3 December 2010 16:58, James Taylor <james@jamestaylor.org> wrote:
Excerpts from Kostas Karasavvas's message of Fri Dec 03 15:56:17 +0000 2010:
Nothing complicated really. I want to run a script that takes no arguments. I tried: <inputs></inputs> but I get an error. Apparently, an input _has_ to be provided. Now I am just adding a radio button as Alex suggested to get around it.
So in this case, when you click on the tool in the menu, you would want to see a tool form with nothing but an execute button?
participants (2)
-
James Taylor
-
Kostas Karasavvas