commit/galaxy-central: dan: Fix for installing tool shed repositories broken in 7890:18ab38e43d8b due to removal of ToolBoxSearch.enabled property.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/7be1e88035ef/ changeset: 7be1e88035ef user: dan date: 2012-10-12 19:25:20 summary: Fix for installing tool shed repositories broken in 7890:18ab38e43d8b due to removal of ToolBoxSearch.enabled property. affected #: 1 file diff -r f37d6fdc76107abac84672a228f1b0433a8a8624 -r 7be1e88035efd985c886c9e2723aa49c08557274 lib/galaxy/util/shed_util.py --- a/lib/galaxy/util/shed_util.py +++ b/lib/galaxy/util/shed_util.py @@ -165,9 +165,7 @@ app.toolbox.shed_tool_confs[ index ] = shed_tool_conf_dict # Write the current in-memory version of the integrated_tool_panel.xml file to disk. app.toolbox.write_integrated_tool_panel_config_file() - if app.toolbox_search.enabled: - # If search support for tools is enabled, index the new installed tools. - app.toolbox_search = ToolBoxSearch( app.toolbox ) + app.toolbox_search = ToolBoxSearch( app.toolbox ) def alter_config_and_load_prorietary_datatypes( app, datatypes_config, relative_install_dir, deactivate=False, override=True ): """ Parse a proprietary datatypes config (a datatypes_conf.xml file included in an installed tool shed repository) and @@ -1884,9 +1882,7 @@ # Update the config_elems of the in-memory shed_tool_conf_dict. shed_tool_conf_dict[ 'config_elems' ] = config_elems trans.app.toolbox.shed_tool_confs[ index ] = shed_tool_conf_dict - if trans.app.toolbox_search.enabled: - # If search support for tools is enabled, index tools. - trans.app.toolbox_search = ToolBoxSearch( trans.app.toolbox ) + trans.app.toolbox_search = ToolBoxSearch( trans.app.toolbox ) if uninstall: # Write the current in-memory version of the integrated_tool_panel.xml file to disk. trans.app.toolbox.write_integrated_tool_panel_config_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)
-
Bitbucket