diff --git a/processing/pre/geom_rescale.py b/processing/pre/geom_rescale.py index b1321973e..a97596f1a 100755 --- a/processing/pre/geom_rescale.py +++ b/processing/pre/geom_rescale.py @@ -132,9 +132,9 @@ for file in files: file['croak'].write('invalid size x y z.\n') sys.exit() - if numpy.all(info['grid'] == 0): + if numpy.all(newInfo['grid'] == 0): newInfo['grid'] = info['grid'] - if numpy.all(info['size'] == 0.0): + if numpy.all(newInfo['size'] == 0.0): newInfo['size'] = info['size'] #--- read data ------------------------------------------------------------------------------------