Hello,
this is a feature that some of my users requested: the ability to easily re-run a job (or at least see the parameters that were used to create a specific dataset).
This patch adds a 're-run' link (next to the 'save' link). The link is encoded in a way to trick the 'tool_runner' controller into displaying the tool-form with the parameters already initialized.
The encoded URL looks like: http://localhost:8080/tool_runner?tool_id=addValue&dbkey=%3F&exp=143...
This is just a proof of concept, and there are many problems with it (one is that conditionals/grouping don't work) and many possible improvements. The code itself is a hodge-podge of lines copied from different classes... (not be best example of python code).
I'm sure there's a better why to do it, because constructing a workflow from a history is basically the same thing, but I don't understand the galaxy code good enough for that.
Comments are welcomed, -gordon.