I'm developing my own tool on Galaxy. I use python script to generate personalized options for "select" input parameter depending on previous input file which is selected by user. I set for each dynamic parameter "refresh_on_change=T" and the generative function through " dynamic_options".
Some of these "select" input parameters depend on a first "select" parameter that depends on the input file. All is working well when i fill all fields for the first time.
The question is about re-runing the tool from a history result. The first "select" parameter that depends directly on the input file is reset to its correct previous value but not next parameters that depend on this first parameter. I assume that all python functions are run at the same time during page reload. And second parameters don't have information from the first parameter which is not set yet.
Am'I right about that ? Any suggestion ?
Thanks for any help.