fixed problem with "ValueError: Mixing iteration and read methods would lose data" for string-containing tables
This commit is contained in:
parent
0409f28308
commit
0cbcb028aa
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue