Workflow variables and the workflow API
I'm working on a module that involves calling a workflow multiple times over a set of data. The workflow has a "variable" that I use for renaming output files. I see, using the workflow_execute.py example how to pass in file names, but I don't see how to pass in a value for this variable. When I do a "./display.py <api key> http://jaxgalaxydev01/api/workflows/<workflow id>" I see the two input data files I would expect, but I don't see this variable. ex: Member Information ------------------ url: /api/workflows/<workflow id> inputs: {'207': {'value': '', 'label': 'Input Dataset'}, '211': {'value': '', 'label': 'Input Dataset'}} id: <workflow id> name: Single-end RNA Seq with grooming v 2.0 (imported from uploaded file) Is there anyway to get at this variable so I can set it when I call a workflow through the API? Thanks, Dave
At this time the workflows API only supports fully predefined workflows with no runtime parameters. This is, however, a feature that will be implemented in the near future. -Dannon On Apr 14, 2011, at 3:32 PM, Dave Walton wrote:
I'm working on a module that involves calling a workflow multiple times over a set of data.
The workflow has a "variable" that I use for renaming output files.
I see, using the workflow_execute.py example how to pass in file names, but I don't see how to pass in a value for this variable.
When I do a "./display.py <api key> http://jaxgalaxydev01/api/workflows/<workflow id>" I see the two input data files I would expect, but I don't see this variable.
ex: Member Information ------------------ url: /api/workflows/<workflow id> inputs: {'207': {'value': '', 'label': 'Input Dataset'}, '211': {'value': '', 'label': 'Input Dataset'}} id: <workflow id> name: Single-end RNA Seq with grooming v 2.0 (imported from uploaded file)
Is there anyway to get at this variable so I can set it when I call a workflow through the API?
Thanks,
Dave ___________________________________________________________ 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:
participants (2)
-
Dannon Baker
-
Dave Walton