Commit 6811cd1a authored by Klaus Zimmermann's avatar Klaus Zimmermann
Browse files

Fix index function spell_length (fixes #91)

parent 8fa53a6b
......@@ -85,8 +85,8 @@ class CountOccurences:
class SpellLength:
def __init__(self, threshold, condition, reducer):
self.threshold = threshold
self.condition = condition
self.reducer = reducer
self.condition = NUMPY_OPERATORS[condition]
self.reducer = NUMPY_REDUCERS[reducer]
self.standard_name = None
self.units = Unit('days')
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment