projects
/
hooke.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f90bfef
)
Fix self.hooke -> hooke typo in hooke.plugin.flatfilt.FlatFilterCommand.filter
author
W. Trevor King
<wking@drexel.edu>
Wed, 19 May 2010 06:46:44 +0000
(
02:46
-0400)
committer
W. Trevor King
<wking@drexel.edu>
Wed, 19 May 2010 06:46:44 +0000
(
02:46
-0400)
hooke/plugin/flatfilt.py
patch
|
blob
|
history
diff --git
a/hooke/plugin/flatfilt.py
b/hooke/plugin/flatfilt.py
index ea1ddf9fe923749a872203eb4ca7a26540290a81..a904557bd1f3a785448f6d84c82295d98289a049 100644
(file)
--- a/
hooke/plugin/flatfilt.py
+++ b/
hooke/plugin/flatfilt.py
@@
-185,7
+185,7
@@
class FlatFilterCommand (FilterCommand):
def filter(self, curve, hooke, inqueue, outqueue, params):
inq = Queue()
outq = Queue()
- conv_command = [c for c in
self.
hooke.commands
+ conv_command = [c for c in hooke.commands
if c.name=='flat filter peaks'][0]
conv_command.run(hooke, inq, outq, **params)
peaks = outq.get()
@@
-195,4
+195,3
@@
class FlatFilterCommand (FilterCommand):
if not isinstance(ret, Success):
raise ret
return len(peaks) >= params['min peaks']
-