Question: Galaxy Environment variables - can I access DEBUG value from my tool?
1
gravatar for m.kempenaar
4.5 years ago by
m.kempenaar10
European Union
m.kempenaar10 wrote:

Hi,

I couldn't find information about the environment variables that are set when Galaxy runs. I know that for instance GALAXY_ROOT_DIR is available but a complete list seems to be unavailable?

For instance, I have included some DEBUG print statements in my R code which ideally should only print when Galaxy is also running in DEBUG mode; can I retrieve this flag for use in my code?

Thanks in advance.

galaxy • 1000 views
ADD COMMENTlink modified 4.5 years ago by Dannon Baker3.7k • written 4.5 years ago by m.kempenaar10
1
gravatar for Dannon Baker
4.5 years ago by
Dannon Baker3.7k
United States
Dannon Baker3.7k wrote:

While you cannot access it directly from your app, you can pass the Galaxy's debug flag to your application on the command line using something like $__app__.config.get('debug', False).

ADD COMMENTlink written 4.5 years ago by Dannon Baker3.7k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 175 users visited in the last hour