Re: [galaxy-dev] Redirecting page after tool completes

2014-05-19 Thread Peter Cock
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.burd...@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
___
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:
  http://lists.bx.psu.edu/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/


Re: [galaxy-dev] Redirecting page after tool completes

2014-05-19 Thread Neil.Burdett
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.c...@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.burd...@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

___
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:
  http://lists.bx.psu.edu/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/


[galaxy-dev] Redirecting page after tool completes

2014-05-18 Thread Neil.Burdett
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
___
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:
  http://lists.bx.psu.edu/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/