Commit 1fb71d2e authored by Lars Bärring's avatar Lars Bärring Committed by Klaus Zimmermann
Browse files

Fix typo: CountOccurrences (closes #90)

parent 6811cd1a
......@@ -58,7 +58,7 @@ def normalize_axis(axis, ndim):
return axis
class CountOccurences:
class CountOccurrences:
def __init__(self, threshold, condition):
self.threshold = threshold
self.condition = NUMPY_OPERATORS[condition]
......
......@@ -49,7 +49,7 @@ setuptools.setup(
'climix-editor=climix.editor:main [editor]',
],
'climix.index_functions': [
'count_occurrences=climix.index_functions:CountOccurences',
'count_occurrences=climix.index_functions:CountOccurrences',
'spell_length=climix.index_functions:SpellLength',
'thresholded_statistics=climix.index_functions:ThresholdedStatistics',
],
......
Markdown is supported
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