2 new commits in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/d5896e8a60fa/ changeset: d5896e8a60fa branch: stable user: inithello date: 2013-02-19 18:29:29 summary: Fix for installing a repository that only contains a workflow, then importing that workflow to Galaxy. affected #: 1 file diff -r 8da37d3985ab9c489760e64d4e3eb707dfbeb4b8 -r d5896e8a60fa948f1713d4b5e30126a12a958679 lib/galaxy/webapps/galaxy/controllers/admin_toolshed.py --- a/lib/galaxy/webapps/galaxy/controllers/admin_toolshed.py +++ b/lib/galaxy/webapps/galaxy/controllers/admin_toolshed.py @@ -740,8 +740,8 @@ repository = suc.get_tool_shed_repository_by_id( trans, repository_id ) changeset_revision = repository.changeset_revision metadata = repository.metadata - workflows = metadata[ 'workflows' ] - tools_metadata = metadata[ 'tools' ] + workflows = metadata.get( 'workflows', [] ) + tools_metadata = metadata.get( 'tools', [] ) workflow_dict = None for workflow_data_tuple in workflows: # The value of workflow_data_tuple is ( relative_path_to_workflow_file, exported_workflow_dict ). https://bitbucket.org/galaxy/galaxy-central/commits/e45b9ade65b1/ changeset: e45b9ade65b1 user: inithello date: 2013-02-19 18:29:29 summary: Fix for installing a repository that only contains a workflow, then importing that workflow to Galaxy. affected #: 1 file diff -r 445b212b1c6d8159cb5b6f81300cf5dd3f1eebee -r e45b9ade65b1a27ded8d55a3003b153035551148 lib/galaxy/webapps/galaxy/controllers/admin_toolshed.py --- a/lib/galaxy/webapps/galaxy/controllers/admin_toolshed.py +++ b/lib/galaxy/webapps/galaxy/controllers/admin_toolshed.py @@ -745,8 +745,8 @@ repository = suc.get_tool_shed_repository_by_id( trans, repository_id ) changeset_revision = repository.changeset_revision metadata = repository.metadata - workflows = metadata[ 'workflows' ] - tools_metadata = metadata[ 'tools' ] + workflows = metadata.get( 'workflows', [] ) + tools_metadata = metadata.get( 'tools', [] ) workflow_dict = None for workflow_data_tuple in workflows: # The value of workflow_data_tuple is ( relative_path_to_workflow_file, exported_workflow_dict ). 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.