From 0cbcb028aae106a6d656b8a8b66bf100252e5d8d Mon Sep 17 00:00:00 2001 From: Philip Eisenlohr Date: Sun, 21 Oct 2018 15:33:13 -0400 Subject: [PATCH] fixed problem with "ValueError: Mixing iteration and read methods would lose data" for string-containing tables --- processing/post/filterTable.py | 1 + 1 file changed, 1 insertion(+) diff --git a/processing/post/filterTable.py b/processing/post/filterTable.py index aca94371c..ce09fc7b3 100755 --- a/processing/post/filterTable.py +++ b/processing/post/filterTable.py @@ -139,6 +139,7 @@ for name in filenames: table.data_readArray(positions+1) # read desired columns (indexed 1,...) table.data_writeArray() # directly write out except: + table.data_rewind() atOnce = False # data contains items that prevent array chunking if not atOnce: # read data line by line