details: http://www.bx.psu.edu/hg/galaxy/rev/b1514bd5244e changeset: 1655:b1514bd5244e user: Dan Blankenberg <dan@bx.psu.edu> date: Tue Dec 09 15:51:12 2008 -0500 description: Bug fix for last commit to Tabular.set_meta() 1 file(s) affected in this change: lib/galaxy/datatypes/tabular.py diffs (12 lines): diff -r f77ec6315c7c -r b1514bd5244e lib/galaxy/datatypes/tabular.py --- a/lib/galaxy/datatypes/tabular.py Tue Dec 09 14:53:10 2008 -0500 +++ b/lib/galaxy/datatypes/tabular.py Tue Dec 09 15:51:12 2008 -0500 @@ -134,7 +134,7 @@ #Now we fill any unknown (None) column_types with data from first line for i in range( len( column_types ) ): if column_types[i] is None: - if first_line_column_types[i] is None: + if len( first_line_column_types ) <= i or first_line_column_types[i] is None: column_types[i] = default_column_type else: column_types[i] = first_line_column_types[i]