From: devicerandom Date: Thu, 8 Oct 2009 18:45:14 +0000 (+0000) Subject: correct parsing of args of peaks command; Fixes issue 0017 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a4196ea861dd4afc6c82839b35768b04a8d5f45f;p=hooke.git correct parsing of args of peaks command; Fixes issue 0017 --- diff --git a/flatfilts.py b/flatfilts.py index b287527..3e9f9c8 100755 --- a/flatfilts.py +++ b/flatfilts.py @@ -227,7 +227,8 @@ class flatfiltsCommands: try: abs_devs=float(args) except: - pass + print 'Wrong argument, using config value' + abs_devs=float(self.convfilt_config['mindeviation']) defplots=self.current.curve.default_plots()[0] #we need the raw, uncorrected plots