From 66e38606f063dddd79f060559b9761481da3d4c4 Mon Sep 17 00:00:00 2001 From: Philip Eisenlohr Date: Thu, 13 Sep 2012 10:09:54 +0000 Subject: [PATCH] syntax errors in one file terminated the script. now continues with next input... --- processing/pre/spectral_geomMultiply.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/processing/pre/spectral_geomMultiply.py b/processing/pre/spectral_geomMultiply.py index a0a95bced..f1c5dfa3e 100755 --- a/processing/pre/spectral_geomMultiply.py +++ b/processing/pre/spectral_geomMultiply.py @@ -109,10 +109,10 @@ for file in files: if resolution == [0,0,0]: print 'no resolution info found.' - sys.exit(1) + continue if dimension == [0.0,0.0,0.0]: print 'no dimension info found.' - sys.exit(1) + continue if file['name'] != 'STDIN': print 'resolution: %s'%(' x '.join(map(str,resolution_blown)))