From 1c0649e17ad307c174f7c888ded029122117613a Mon Sep 17 00:00:00 2001 From: Philip Eisenlohr Date: Thu, 13 Sep 2012 10:08:57 +0000 Subject: [PATCH] syntax errors in one file terminated the script. now continues with next input... --- processing/pre/spectral_geomCanvas.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/processing/pre/spectral_geomCanvas.py b/processing/pre/spectral_geomCanvas.py index 647cdb574..15c293f65 100755 --- a/processing/pre/spectral_geomCanvas.py +++ b/processing/pre/spectral_geomCanvas.py @@ -115,10 +115,10 @@ for file in files: if info['resolution'] == [0,0,0]: print 'no resolution info found.' - sys.exit(1) + continue if info['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,info['resolution'])))