commit/galaxy-central: greg: Only load the tool panel if in Galaxy.

1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/172e1713535c/ Changeset: 172e1713535c User: greg Date: 2014-05-20 23:13:26 Summary: Only load the tool panel if in Galaxy. Affected #: 1 file diff -r c5e14473dfb79328f077d81a6cafd9c8a07ffe23 -r 172e1713535c24cc6c07caa5f90494b68827b638 lib/galaxy/tools/__init__.py --- a/lib/galaxy/tools/__init__.py +++ b/lib/galaxy/tools/__init__.py @@ -145,7 +145,7 @@ self.init_tools( config_filename ) except: log.exception( "Error loading tools defined in config %s", config_filename ) - if self.integrated_tool_panel_config_has_contents: + if self.app.name == 'galaxy' and self.integrated_tool_panel_config_has_contents: # Load self.tool_panel based on the order in self.integrated_tool_panel. self.load_tool_panel() if app.config.update_integrated_tool_panel: Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
commits-noreply@bitbucket.org