1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/84baec18959c/ changeset: 84baec18959c user: greg date: 2012-02-03 22:30:30 summary: Correctly handle ToolPanelSection objects when presenting the tool panel sectin redio buttons for selecting a section to contain tools installed with a tool shed repostory into a local Galaxy instance. affected #: 1 file diff -r 86d9c5ddbafc3f54acd8398cf3f3d9c10a5ca54c -r 84baec18959cb7f48f450f9aa676aaa1882044c1 lib/galaxy/web/controllers/admin_toolshed.py --- a/lib/galaxy/web/controllers/admin_toolshed.py +++ b/lib/galaxy/web/controllers/admin_toolshed.py @@ -797,8 +797,9 @@ def build_tool_panel_section_select_field( trans ): """Build a SelectField whose options are the sections of the current in-memory toolbox.""" options = [] - for k, tool_section in trans.app.toolbox.tool_panel.items(): - options.append( ( tool_section.name, tool_section.id ) ) + for k, v in trans.app.toolbox.tool_panel.items(): + if isinstance( v, tools.ToolSection ): + options.append( ( v.name, v.id ) ) select_field = SelectField( name='tool_panel_section', display='radio' ) for option_tup in options: select_field.add_option( option_tup[0], option_tup[1] ) 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.