diff --git a/processing/pre/geom_rescale.py b/processing/pre/geom_rescale.py index e0dd5e86e..3b43eb476 100755 --- a/processing/pre/geom_rescale.py +++ b/processing/pre/geom_rescale.py @@ -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: diff --git a/processing/pre/geom_translate.py b/processing/pre/geom_translate.py index 9b916b361..3c474d813 100755 --- a/processing/pre/geom_translate.py +++ b/processing/pre/geom_translate.py @@ -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: