commit/galaxy-central: davebgx: Fix data table xml definition for tool tarball download.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/d85d039b8eeb/ Changeset: d85d039b8eeb User: davebgx Date: 2014-09-10 15:44:32 Summary: Fix data table xml definition for tool tarball download. Affected #: 1 file diff -r 308f95b0f2b01930fab8f43598b48ba9d680e568 -r d85d039b8eeb2781619683f62dddf0f4c20af773 lib/galaxy/tools/__init__.py --- a/lib/galaxy/tools/__init__.py +++ b/lib/galaxy/tools/__init__.py @@ -756,7 +756,6 @@ tarball_files.append( ( filesystem_path, tarball_path ) ) image_found = True tool_xml = tool_xml.replace( '${static_path}/%s' % tarball_path, tarball_path ) - log.debug( tarball_files ) # If one or more tool help images were found, add the modified tool XML to the tarball instead of the original. if image_found: fd, new_tool_config = tempfile.mkstemp( suffix='.xml' ) @@ -817,8 +816,7 @@ if len( data_table_definitions ) > 0: # Put the data table definition XML in a temporary file. table_definition = '<?xml version="1.0" encoding="utf-8"?>\n<tables>\n %s</tables>' - table_xml = [ data_table.xml_string for data_table in data_table_definitions ] - table_definition = table_definition % '\n'.join( table_xml ) + table_definition = table_definition % '\n'.join( data_table_definitions ) fd, table_conf = tempfile.mkstemp() os.close( fd ) file( table_conf, 'w' ).write( table_definition ) 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