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

Changeset 7:72c32037fa1e (2017-02-18)
Previous changeset 6:03842a4f71c6 (2017-02-17) Next changeset 8:ae27dab228b8 (2017-02-21)
Commit message:
Uploaded
modified:
query_tabular.py
b
diff -r 03842a4f71c6 -r 72c32037fa1e query_tabular.py
--- a/query_tabular.py Fri Feb 17 15:20:24 2017 -0500
+++ b/query_tabular.py Sat Feb 18 08:35:35 2017 -0500
[
@@ -217,8 +217,6 @@
         for linenum, fields in enumerate(tr):
             data_lines += 1
             try:
-                if col_idx:
-                    fields = [fields[i] for i in col_idx]
                 vals = [col_func[i](x) if x else None for i, x in enumerate(fields)]
                 c.execute(insert_stmt, vals)
             except Exception, e: