commit/galaxy-central: greg: Fix a few typos in my last commit.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/7df0d7eb3a06/ Changeset: 7df0d7eb3a06 User: greg Date: 2013-03-25 22:18:17 Summary: Fix a few typos in my last commit. Affected #: 3 files diff -r efe376544e2263ec8f9788d71d25dd2b4b49a39d -r 7df0d7eb3a0670a299d571683daba26cbc692f0b lib/galaxy/webapps/galaxy/api/tool_shed_repositories.py --- a/lib/galaxy/webapps/galaxy/api/tool_shed_repositories.py +++ b/lib/galaxy/webapps/galaxy/api/tool_shed_repositories.py @@ -168,7 +168,7 @@ shed_tool_conf = payload.get( 'shed_tool_conf', None ) tool_path = payload.get( 'tool_path', None ) tool_panel_section_id = payload.get( 'tool_panel_section_id', '' ) - if tool_panel_section_id is not None: + if tool_panel_section_id not in [ None, '' ]: tool_panel_section = trans.app.toolbox.tool_panel[ tool_panel_section_id ] else: tool_panel_section = '' diff -r efe376544e2263ec8f9788d71d25dd2b4b49a39d -r 7df0d7eb3a0670a299d571683daba26cbc692f0b scripts/api/install_repository_tools_into_new_tool_panel_section.py --- a/scripts/api/install_repository_tools_into_new_tool_panel_section.py +++ b/scripts/api/install_repository_tools_into_new_tool_panel_section.py @@ -4,10 +4,10 @@ valid tools, loading them into a new section of the Galaxy tool panel. The repository has no tool dependencies or repository dependencies, so only a single repository will be installed. -usage: ./install_repository_tools_into_existing_tool_panel_section <api_key <galaxy base url> tool_shed_url name owner changeset_revision new_tool_panel_section_label +usage: ./install_repository_tools_into_new_tool_panel_section <api_key <galaxy base url> tool_shed_url name owner changeset_revision new_tool_panel_section_label Here is a working example of how to use this script to install a repository from the test tool shed. -./install_repository_tools_into_existing_tool_panel_section.py <api key><galaxy base url>/api/tool_shed_repositories/new/install_repository_revision http://testtoolshed.g2.bx.psu.edu gregs_filter greg f28d5018f9cb From%20Test%20Tool%20Shed +./install_repository_tools_into_new_tool_panel_section.py <api key><galaxy base url>/api/tool_shed_repositories/new/install_repository_revision http://testtoolshed.g2.bx.psu.edu gregs_filter greg f28d5018f9cb From%20Test%20Tool%20Shed """ import os diff -r efe376544e2263ec8f9788d71d25dd2b4b49a39d -r 7df0d7eb3a0670a299d571683daba26cbc692f0b scripts/api/install_repository_with_repository_dependencies.py --- a/scripts/api/install_repository_with_repository_dependencies.py +++ b/scripts/api/install_repository_with_repository_dependencies.py @@ -4,10 +4,10 @@ repository dependencies, so multiple repositories will ultimately be installed. Since no Galaxy tool panel section information is used, all tools contained in the installed repositories will be loaded into the Galaxy tool panel outside of any sections. -usage: ./install_repository_tools_into_existing_tool_panel_section <api_key <galaxy base url> tool_shed_url name owner changeset_revision True +usage: ./install_repository_with_repository_dependencies.py <api_key <galaxy base url> tool_shed_url name owner changeset_revision True Here is a working example of how to use this script to install a repository from the test tool shed. -./install_repository_tools_into_existing_tool_panel_section.py <api key><galaxy base url>/api/tool_shed_repositories/new/install_repository_revision http://testtoolshed.g2.bx.psu.edu emboss_5 devteam 8ddad0c9a75a True +./install_repository_with_repository_dependencies.py <api key><galaxy base url>/api/tool_shed_repositories/new/install_repository_revision http://testtoolshed.g2.bx.psu.edu emboss_5 devteam 8ddad0c9a75a True """ import os @@ -32,4 +32,4 @@ print 'usage: %s key url tool_shed_url name owner changeset_revision install_repository_dependencies' % os.path.basename( sys.argv[ 0 ] ) sys.exit( 1 ) -submit( sys.argv[ 1 ], sys.argv[ 2 ], data ) \ No newline at end of file +submit( sys.argv[ 1 ], sys.argv[ 2 ], data ) 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