Skip to content

Instantly share code, notes, and snippets.

@Tendrid
Created October 24, 2012 16:43
Show Gist options
  • Save Tendrid/3947242 to your computer and use it in GitHub Desktop.
Save Tendrid/3947242 to your computer and use it in GitHub Desktop.
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1504, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1264, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1262, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1248, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/home/tendrid/git/SimpleSeer/SimpleSeer/util.py", line 59, in decorated_function
obj = f(*args, **kwargs)
File "/home/tendrid/git/SeerCloud/SeerCloud/models/Chart.py", line 148, in nelson_data
retVal = c.nelsonData(filter_params)
File "/home/tendrid/git/SeerCloud/SeerCloud/models/Chart.py", line 331, in nelsonData
normOK = StatControl.checkNormal(points)
File "/home/tendrid/git/SeerCloud/SeerCloud/Control.py", line 23, in checkNormal
p = kstest(data, 'norm')[0]
File "/usr/lib/python2.7/dist-packages/scipy/stats/stats.py", line 3163, in kstest
Dplus = (np.arange(1.0, N+1)/N - cdfvals).max()
ValueError: zero-size array to maximum.reduce without identity
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment