You want the hid attribute for inputs, so something like ${input.hid} will provide the history dataset number that you're looking for. Best, J. On Jul 12, 2012, at 2:13 AM, James Boocock wrote:
Hi All,
Just a quick question regarding galaxy tool creation.
In the <command> tags
Is it possible to get a datasets history number for the history the user initiated the job from?
Seems unlikely, the reason I ask is that I have a tool that creates and output file for every input file and the program can take multiple inputs. It would be useful to be able to label the outputs related to the history number so the user could easily identify which output is for which file.
Using the multiple output guide something like. primary_${id}_${history dataset number}_visible_txt
Cheers
James. ___________________________________________________________ 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: