Re: [galaxy-dev] Determining galaxy api path automatically from a tool via dynamic_options?

2014-10-23 Thread Dooley, Damion
V5Z 4R4 Canada From: John Chilton [jmchil...@gmail.com] Sent: Wednesday, October 22, 2014 6:42 PM To: Dooley, Damion Cc: galaxy-dev@lists.bx.psu.edu Subject: Re: [galaxy-dev] Determining galaxy api path automatically from a tool via dynamic_options? Well host is probably not enough - it doesn'

Re: [galaxy-dev] Determining galaxy api path automatically from a tool via dynamic_options?

2014-10-22 Thread John Chilton
Well host is probably not enough - it doesn't seem like a good idea to assume http right? There is the prefix and (trans.request.scheme) that could be missing. Is trans.request.base what you want? Maybe trans.request.path_url? It should be possible to recover that from trans I guess - though I don'

[galaxy-dev] Determining galaxy api path automatically from a tool via dynamic_options?

2014-10-22 Thread Dooley, Damion
After uploading my beta status tool to our test toolshed, I tried installing it on another of our galaxy servers but it wasn't able to find the api endpoint url. Is there a way to automatically do this within tool forms? I was hoping to avoid hardcoding this as part of the tool installation pr