projects
/
hooke.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3d3af3
)
correct parsing of args of peaks command; Fixes issue 0017
author
devicerandom
<devnull@localhost>
Thu, 8 Oct 2009 18:45:14 +0000
(18:45 +0000)
committer
devicerandom
<devnull@localhost>
Thu, 8 Oct 2009 18:45:14 +0000
(18:45 +0000)
flatfilts.py
patch
|
blob
|
history
diff --git
a/flatfilts.py
b/flatfilts.py
index b287527efb0212e512290e962d714460461ce4a1..3e9f9c8979b287a096140de64ead608ee8f207eb 100755
(executable)
--- 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