removed unwanted ASCII table data rewind causing problem for STDIN
This commit is contained in:
parent
86283359f1
commit
69b8e02a3a
|
@ -111,7 +111,6 @@ for file in files:
|
||||||
#--- read data ------------------------------------------------------------------------------------
|
#--- read data ------------------------------------------------------------------------------------
|
||||||
microstructure = np.zeros(info['grid'].prod(),'i') # initialize as flat array
|
microstructure = np.zeros(info['grid'].prod(),'i') # initialize as flat array
|
||||||
i = 0
|
i = 0
|
||||||
table.data_rewind()
|
|
||||||
while table.data_read():
|
while table.data_read():
|
||||||
items = table.data
|
items = table.data
|
||||||
if len(items) > 2:
|
if len(items) > 2:
|
||||||
|
|
Loading…
Reference in New Issue