1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/639548ab15fd/ changeset: 639548ab15fd user: richard_burhans date: 2012-04-10 17:03:11 summary: add column names affected #: 1 file diff -r 04d40a6eca75a9585a874736d799b5bc9869b289 -r 639548ab15fdd83771abb5f1cf7282f7d1cddcad lib/galaxy/datatypes/tabular.py --- a/lib/galaxy/datatypes/tabular.py +++ b/lib/galaxy/datatypes/tabular.py @@ -23,6 +23,7 @@ MetadataElement( name="comment_lines", default=0, desc="Number of comment lines", readonly=False, optional=True, no_value=0 ) MetadataElement( name="columns", default=0, desc="Number of columns", readonly=True, visible=False, no_value=0 ) MetadataElement( name="column_types", default=[], desc="Column types", param=metadata.ColumnTypesParameter, readonly=True, visible=False, no_value=[] ) + MetadataElement( name="column_names", default=[], desc="Column names", readonly=True, visible=False, no_value=[] ) def init_meta( self, dataset, copy_from=None ): data.Text.init_meta( self, dataset, copy_from=copy_from ) @@ -179,6 +180,9 @@ def make_html_peek_header( self, dataset, skipchars=[], column_names=[], column_number_format='%s', column_parameter_alias={}, **kwargs ): out = [] try: + if not column_names and dataset.metadata.column_names: + column_names = dataset.metadata.column_names + column_headers = [None] * dataset.metadata.columns # fill in empty headers with data from column_names 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.