# HG changeset patch -- Bitbucket.org # Project galaxy-dist # URL http://bitbucket.org/galaxy/galaxy-dist/overview # User Greg Von Kuster <greg@bx.psu.edu> # Date 1287775851 14400 # Node ID 1d0eeaf2d06c7835d741fbfdab7120d366baca0b # Parent f72f73aa68da51e0b5aebc063b11fa7f0b78a261 Bug fix for displaying metadata items associated with library datasets that are lists of values. --- a/templates/library/common/ldda_info.mako +++ b/templates/library/common/ldda_info.mako @@ -120,6 +120,8 @@ if isinstance( metadata_val, trans.model.MetadataFile ): metadata_val = metadata_val.file_name elif isinstance( metadata_val, list ): + # Make sure list items are strings + metadata_val = [ str( item ) for item in metadata_val ] metadata_val = ', '.join( metadata_val ) %> ${metadata_val}