commit/galaxy-central: greg: Fix for loading tools from tool config(s).
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/d56513828dc6/ changeset: d56513828dc6 user: greg date: 2012-01-23 15:44:22 summary: Fix for loading tools from tool config(s). affected #: 1 file diff -r 73bae197e5fe3a420cd90326d80c7a2173e619a8 -r d56513828dc6f7c23b0e5b85f5ac33ce212587b7 lib/galaxy/tools/__init__.py --- a/lib/galaxy/tools/__init__.py +++ b/lib/galaxy/tools/__init__.py @@ -107,10 +107,11 @@ self.load_section_tag_set( elem, self.tool_panel, tool_path ) elif elem.tag == 'label': self.load_label_tag_set( elem, self.tool_panel ) - shed_tool_conf_dict = dict( config_filename=config_filename, - tool_path=tool_path, - config_elems=config_elems ) - self.shed_tool_confs.append( shed_tool_conf_dict ) + if parsing_shed_tool_conf: + shed_tool_conf_dict = dict( config_filename=config_filename, + tool_path=tool_path, + config_elems=config_elems ) + self.shed_tool_confs.append( shed_tool_conf_dict ) def get_tool( self, tool_id, tool_version=None ): # Attempt to locate the tool in our in-memory dictionary. if tool_id in self.tools_by_id: 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)
-
Bitbucket