removed table rewind causing problem with STDIN/STDOUT
This commit is contained in:
parent
5e61ed0382
commit
004375cc79
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue