Is there any way to retrieve the current history name in the XML file of a tool in galaxy. Within the tools folder I have a XML file that calls a python script to write reports. This tool writes a series of reports for each sample in a specified Set. Right now I specify the Set using the following:
<param name="Set_ID" size="20" type="text" label="Set ID" value="Enter Set"/>
In this case the user has to type in the Set they want to work on. I do not want this as it could lead to errors.
Alternatively the current history is exactly the Set name. If I could enter something such as:
<param name="Set_ID" type="hidden" value="$__current_history_name"/>
Where $__current_history__name equals the name of the current history that would be great. I know that galaxy has other reserved variable such as $__user_email__ for the users email address. So my question is, is there a reserved variable for the current history, or any other way to access the current history name in the XML file for a tool?