commit/galaxy-central: 2 new changesets
2 new commits in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/6007992cbcd3/ Changeset: 6007992cbcd3 Branch: stable User: nsoranzo Date: 2014-03-14 15:21:25 Summary: Fix for https://trello.com/c/8NpgYM3U/1430-tool-panel-label-bug-introduced-with-2014... Bug was introduced in commit 5f6c670dca9f42d52480f66afeb91b63710e7ffb . Affected #: 1 file diff -r ac4e18e81ed5d9256cb1f07692da7928dcd7969f -r 6007992cbcd3626cbed38b0e883f516b016f98be lib/galaxy/tools/__init__.py --- a/lib/galaxy/tools/__init__.py +++ b/lib/galaxy/tools/__init__.py @@ -276,7 +276,7 @@ section = ToolSection( elem ) log.debug( "Loading section: %s" % elem.get( 'name' ) ) for section_key, section_val in val.elems.items(): - if section_key.startswith( 'tool_' ): + if isinstance( section_val, Tool ): tool_id = section_key.replace( 'tool_', '', 1 ) if tool_id in self.tools_by_id: self.__add_tool_to_tool_panel( tool_id, section, section=True ) @@ -286,7 +286,7 @@ workflow = self.workflows_by_id[ workflow_id ] section.elems[ section_key ] = workflow log.debug( "Loaded workflow: %s %s" % ( workflow_id, workflow.name ) ) - elif isinstance( val, ToolSectionLabel ): + elif isinstance( section_val, ToolSectionLabel ): if section_val: section.elems[ section_key ] = section_val log.debug( "Loaded label: %s" % ( section_val.text ) ) https://bitbucket.org/galaxy/galaxy-central/commits/11e83ed03dab/ Changeset: 11e83ed03dab User: jmchilton Date: 2014-03-17 02:12:20 Summary: Merge latest stable. Affected #: 1 file 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