Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use consistent naming (whisper.aggregationTypes -> whisper.aggregatio…

…nMethods)
  • Loading branch information...
commit 3be0a61e936d4de075780492042398389fb39f89 1 parent 0cc6647
@tmm1 tmm1 authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 whisper.py
View
6 whisper.py
@@ -58,7 +58,7 @@
5: 'min'
})
aggregationMethodToType = dict([[v,k] for k,v in aggregationTypeToMethod.items()])
-aggregationTypes = aggregationTypeToMethod.values()
+aggregationMethods = aggregationTypeToMethod.values()
debug = startBlock = endBlock = lambda *a,**k: None
@@ -212,7 +212,7 @@ def setAggregationMethod(path, aggregationMethod):
"""setAggregationMethod(path,aggregationMethod)
path is a string
-aggregationMethod specifies the method to use when propogating data (see ``whisper.aggregationTypes``)
+aggregationMethod specifies the method to use when propogating data (see ``whisper.aggregationMethods``)
"""
fh = open(path,'r+b')
if LOCK:
@@ -252,7 +252,7 @@ def create(path,archiveList,xFilesFactor=0.5,aggregationMethod='average'):
path is a string
archiveList is a list of archives, each of which is of the form (secondsPerPoint,numberOfPoints)
xFilesFactor specifies the fraction of data points in a propagation interval that must have known values for a propagation to occur
-aggregationMethod specifies the function to use when propogating data (see ``whisper.aggregationTypes``)
+aggregationMethod specifies the function to use when propogating data (see ``whisper.aggregationMethods``)
"""
#Validate archive configurations...
if not archiveList:
Please sign in to comment.
Something went wrong with that request. Please try again.