From 94a8a9a841c4352c8dccfd42844f4fab2c97db7c Mon Sep 17 00:00:00 2001 From: E Rasche Date: Tue, 1 Aug 2017 15:10:36 +0200 Subject: [PATCH] default to sharing toolbox --- scripts/grt.py | 4 +++- scripts/grt.yml.sample | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/grt.py b/scripts/grt.py index acbec5f33bb..af2e5a27ed8 100644 --- a/scripts/grt.py +++ b/scripts/grt.py @@ -52,7 +52,7 @@ def _init(config, need_app=False): logging.warning("The database connection is empty. If you are using the default value, please uncomment that in your galaxy.ini") if need_app: - app = galaxy.app.UniverseApplication(global_conf={'__file__': config_file, 'here': os.getcwd()}), + app = galaxy.app.UniverseApplication(global_conf={'__file__': config_file, 'here': os.getcwd()}) else: app = None @@ -207,6 +207,8 @@ def main(argv): annotate('galaxy_init', 'Loading Galaxy...') model, object_store, engine, gxconfig, app = _init(config['galaxy_config'], need_app=config['grt']['share_toolbox']) + # Galaxy overrides our logging level. + logging.getLogger().setLevel(getattr(logging, args.loglevel.upper())) sa_session = model.context.current annotate('galaxy_end') diff --git a/scripts/grt.yml.sample b/scripts/grt.yml.sample index 54ee5d61a73..7ed7ca9e8db 100644 --- a/scripts/grt.yml.sample +++ b/scripts/grt.yml.sample @@ -13,7 +13,7 @@ grt: # Are you willing to share your toolbox? I.e. what tools are installed. # If your instance is public, this can help us direct users to your # instance. - share_toolbox: False + share_toolbox: True blacklist: