Repository 'query_tabular'
hg clone https://toolshed.g2.bx.psu.edu/repos/jjohnson/query_tabular

Changeset 9:0ed75ed20c7e (2017-03-02)
Previous changeset 8:ae27dab228b8 (2017-02-21) Next changeset 10:e84d1c3bf4fe (2017-03-02)
Commit message:
Fix skip lines
modified:
query_tabular.py
b
diff -r ae27dab228b8 -r 0ed75ed20c7e query_tabular.py
--- a/query_tabular.py Tue Feb 21 12:59:26 2017 -0500
+++ b/query_tabular.py Thu Mar 02 08:26:54 2017 -0500
b
@@ -103,7 +103,7 @@
         self.filters = filters
         self.tsv_file = open(file_path)
         if skip and skip > 0:
-            for i in range(5): 
+            for i in range(skip): 
                 if not self.tsv_file.readline():
                     break
         source = LineFilter(self.tsv_file,None)