fixed problem with "ValueError: Mixing iteration and read methods would lose data" for string-containing tables

This commit is contained in:
Philip Eisenlohr 2018-10-21 15:33:13 -04:00
parent 0409f28308
commit 0cbcb028aa
1 changed files with 1 additions and 0 deletions

View File

@ -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