Re: [galaxy-dev] simple way to refer to the repository install directory from a tool

2015-03-26 Thread Langhorst, Brad
I missed that $__tool_directory__ in the docs. thanks John! Brad -- Brad Langhorst, Ph.D. Applications and Product Development Scientist > On Mar 26, 2015, at 1:12 PM, John Chilton wrote: > > Brad, > > Yes - that environment variable trick is an anti-pattern in my mind > because it is heavy an

Re: [galaxy-dev] simple way to refer to the repository install directory from a tool

2015-03-26 Thread John Chilton
Brad, Yes - that environment variable trick is an anti-pattern in my mind because it is heavy and because it only works for tool shed installed tools. As of 15.03 you can now just use $__tool_directory__ to refer to the directory the tool is in. I can point at the patch if you want to back port th

[galaxy-dev] simple way to refer to the repository install directory from a tool

2015-03-26 Thread Langhorst, Brad
I’m working on a very simple tool. Rscript samtools R this won’t work because Rscript is not running in the tool install directory and can’t find simple_script.R… I’ve just been reading https://trello.com/c/9lQ7Sr8