1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/cf93e8aa50f9/ changeset: cf93e8aa50f9 user: jgoecks date: 2012-10-05 15:43:04 summary: When finding applicable visualizations, check to ensure that there are column_types before trying to iterate over them. affected #: 1 file diff -r 210c39f4bf7f2d91c68df84dd9ccecb2ff9f93aa -r cf93e8aa50f96e4d43d39e817d9754dc41a5886e lib/galaxy/datatypes/tabular.py --- a/lib/galaxy/datatypes/tabular.py +++ b/lib/galaxy/datatypes/tabular.py @@ -309,9 +309,10 @@ # Can visualize tabular data as scatterplot if there are 2+ numerical # columns. num_numerical_cols = 0 - for col_type in dataset.metadata.column_types: - if col_type in [ 'int', 'float' ]: - num_numerical_cols += 1 + if dataset.metadata.column_types: + for col_type in dataset.metadata.column_types: + if col_type in [ 'int', 'float' ]: + num_numerical_cols += 1 vizs = super( Tabular, self ).get_visualizations( dataset ) if num_numerical_cols >= 2: 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.