From a4196ea861dd4afc6c82839b35768b04a8d5f45f Mon Sep 17 00:00:00 2001 From: devicerandom Date: Thu, 8 Oct 2009 18:45:14 +0000 Subject: [PATCH] correct parsing of args of peaks command; Fixes issue 0017 --- flatfilts.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.26.2