Skip to content

Instantly share code, notes, and snippets.

@dannon
Created June 14, 2016 14:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dannon/f67cccd16f9e8c8776a0032b11d1c5c7 to your computer and use it in GitHub Desktop.
Save dannon/f67cccd16f9e8c8776a0032b11d1c5c7 to your computer and use it in GitHub Desktop.
diff --git a/lib/galaxy/datatypes/tabular.py b/lib/galaxy/datatypes/tabular.py
index 2c4bf3b..456139a 100644
--- a/lib/galaxy/datatypes/tabular.py
+++ b/lib/galaxy/datatypes/tabular.py
@@ -75,7 +75,7 @@ class TabularData( data.Text ):
elif to_ext or not preview:
to_ext = to_ext or dataset.extension
return self._serve_raw(trans, dataset, to_ext)
- elif dataset.metadata.columns > 50:
+ elif dataset.metadata.columns > 100:
# Fancy tabular display is only suitable for datasets without an incredibly large number of columns.
# We should add a new datatype 'matrix', with its own draw method, suitable for this kind of data.
# For now, default to the old behavior, ugly as it is. Remove this after adding 'matrix'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment