1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/564bbbdd8a22/ changeset: 564bbbdd8a22 user: greg date: 2012-04-17 18:16:36 summary: Tool shed repository metadata fixes. affected #: 3 files diff -r 7a9f3f0c7c010db0859f0c18f3244a6b77f3bf10 -r 564bbbdd8a223a0709420f7feb47e5fccb40a139 lib/galaxy/util/shed_util.py --- a/lib/galaxy/util/shed_util.py +++ b/lib/galaxy/util/shed_util.py @@ -462,10 +462,22 @@ tool_tests = [] if tool.tests: for ttb in tool.tests: + required_files = [] + for required_file in ttb.required_files: + value, extra = required_file + required_files.append( ( value ) ) + inputs = [] + for input in ttb.inputs: + name, value, extra = input + inputs.append( ( name, value ) ) + outputs = [] + for output in ttb.outputs: + name, file_name, extra = output + outputs.append( ( name, os.path.split( file_name )[ 1 ] ) ) test_dict = dict( name=ttb.name, - required_files=ttb.required_files, - inputs=ttb.inputs, - outputs=ttb.outputs ) + required_files=required_files, + inputs=inputs, + outputs=outputs ) tool_tests.append( test_dict ) tool_dict = dict( id=tool.id, guid=guid, diff -r 7a9f3f0c7c010db0859f0c18f3244a6b77f3bf10 -r 564bbbdd8a223a0709420f7feb47e5fccb40a139 templates/admin/tool_shed_repository/view_tool_metadata.mako --- a/templates/admin/tool_shed_repository/view_tool_metadata.mako +++ b/templates/admin/tool_shed_repository/view_tool_metadata.mako @@ -143,7 +143,7 @@ </td><td> %for required_file in required_files: - ${required_file[0]}<br/> + ${required_file}<br/> %endfor </td></tr> diff -r 7a9f3f0c7c010db0859f0c18f3244a6b77f3bf10 -r 564bbbdd8a223a0709420f7feb47e5fccb40a139 templates/webapps/community/repository/view_tool_metadata.mako --- a/templates/webapps/community/repository/view_tool_metadata.mako +++ b/templates/webapps/community/repository/view_tool_metadata.mako @@ -254,7 +254,7 @@ </td><td> %for required_file in required_files: - ${required_file[0]}<br/> + ${required_file}<br/> %endfor </td></tr> 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.