From 92a98f46ca49432af160c37a3b4c5fa8ba93283d Mon Sep 17 00:00:00 2001 From: Dannon Baker Date: Tue, 11 Jan 2011 09:25:36 -0500 Subject: [PATCH] Set default max_lines for tabular to 100,000. For files larger than this, data_lines will not be set, and an estimate will be made for the peek. --- lib/galaxy/datatypes/tabular.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/galaxy/datatypes/tabular.py b/lib/galaxy/datatypes/tabular.py index 5925d9dd616..810e24da81c 100644 --- a/lib/galaxy/datatypes/tabular.py +++ b/lib/galaxy/datatypes/tabular.py @@ -26,7 +26,7 @@ class Tabular( data.Text ): def init_meta( self, dataset, copy_from=None ): data.Text.init_meta( self, dataset, copy_from=copy_from ) - def set_meta( self, dataset, overwrite = True, skip = None, max_data_lines = None, **kwd ): + def set_meta( self, dataset, overwrite = True, skip = None, max_data_lines = 100000, **kwd ): """ Tries to determine the number of columns as well as those columns that contain numerical values in the dataset. A skip parameter is