Redirecting page after tool completes
Hi, I have a tool that generates some png files. These are viewed when you click on the "eye" symbol. I was wondering if there is a way to automatically redirect to this html page once the job completes without the user needing to click on the "eye" symbol? (as this could be a small part in a larger workflow) Thanks Neil
Not that I am aware of, but given the run time of jobs is quite variable it seems confusing to have Galaxy suddenly switch focus - especially if I have another tool or visualisation open, or am looking at a particular datafile. However, if the user hasn't interacted with Galaxy since pressing the execute button (i.e. the job/workflow submitted page is still shown) then it would feel nice for Galaxy to auto- display the final history output when the job finishes? Peter On Mon, May 19, 2014 at 6:30 AM, <Neil.Burdett@csiro.au> wrote:
Hi, I have a tool that generates some png files. These are viewed when you click on the "eye" symbol. I was wondering if there is a way to automatically redirect to this html page once the job completes without the user needing to click on the "eye" symbol? (as this could be a small part in a larger workflow)
Thanks Neil
Yes. I'm looking to auto display the final history output when the job finishes. It's pretty traightforward to get the URL to display i.e. http://'servername'/capaibl/datasets/5a1cff6882ddb5b2/display/?preview=True. However, I don't know how to use the URL to set it on the galaxy webpage. i.e. do I need to call something like "h.url_for " or something similar passing the target="galaxy_main". can i do this from my tool? Any help much appreciated Neil ________________________________________ From: Peter Cock [p.j.a.cock@googlemail.com] Sent: Monday, May 19, 2014 6:25 PM To: Burdett, Neil (CCI, Herston - RBWH) Cc: galaxy-dev@lists.bx.psu.edu Subject: Re: [galaxy-dev] Redirecting page after tool completes Not that I am aware of, but given the run time of jobs is quite variable it seems confusing to have Galaxy suddenly switch focus - especially if I have another tool or visualisation open, or am looking at a particular datafile. However, if the user hasn't interacted with Galaxy since pressing the execute button (i.e. the job/workflow submitted page is still shown) then it would feel nice for Galaxy to auto- display the final history output when the job finishes? Peter On Mon, May 19, 2014 at 6:30 AM, <Neil.Burdett@csiro.au> wrote:
Hi, I have a tool that generates some png files. These are viewed when you click on the "eye" symbol. I was wondering if there is a way to automatically redirect to this html page once the job completes without the user needing to click on the "eye" symbol? (as this could be a small part in a larger workflow)
Thanks Neil
participants (2)
-
Neil.Burdett@csiro.au
-
Peter Cock