From 6712fbca91248dc592bf4142238b93bdb66d9bd7 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