removed table rewind causing problem with STDIN/STDOUT

This commit is contained in:
Martin Diehl 2015-03-27 13:57:34 +00:00
parent 5e61ed0382
commit 004375cc79
2 changed files with 1 additions and 2 deletions

View File

@ -113,7 +113,7 @@ for file in files:
#--- read data ------------------------------------------------------------------------------------
microstructure = np.zeros(info['grid'].prod(),'i')
i = 0
table.data_rewind()
while table.data_read():
items = table.data
if len(items) > 2:

View File

@ -115,7 +115,6 @@ for file in files:
#--- read data ------------------------------------------------------------------------------------
microstructure = np.zeros(info['grid'].prod(),'i')
i = 0
theTable.data_rewind()
while theTable.data_read():
items = theTable.data
if len(items) > 2: