api_1 | 09:51:44 INFO phovea_data_redis.assigner: create redis assigner
api_1 | [2017-07-20 09:52:07,270] ERROR in app: Exception on /matrix/tcgaKircMrna-Seq/hist [GET]
api_1 | Traceback (most recent call last):
api_1 | File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1988, in wsgi_app
api_1 | response = self.full_dispatch_request()
api_1 | File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1641, in full_dispatch_request
api_1 | rv = self.handle_user_exception(e)
api_1 | File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1544, in handle_user_exception
api_1 | reraise(exc_type, exc_value, tb)
api_1 | File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1639, in full_dispatch_request
api_1 | rv = self.dispatch_request()
api_1 | File "/usr/local/lib/python2.7/site-packages/flask/app.py", line 1625, in dispatch_request
api_1 | return self.view_functions[rule.endpoint](**req.view_args)
api_1 | File "phovea_server/phovea_server/dataset_specific.py", line 322, in hist_matrix
api_1 | hist, bin_edges = np.histogram(data, bins=int(ns.request.args.get('bins', np.sqrt(len(data)))), range=d.range)
api_1 | File "/usr/local/lib/python2.7/site-packages/numpy/lib/function_base.py", line 611, in histogram
api_1 | n += np.bincount(indices, weights=tmp_w, minlength=bins).astype(ntype)
api_1 | ValueError: The first argument of bincount must be non-negative
Can't add any other column in StratomeX afterwards.
Problem:
Range of dataset (id=tcgaKircMrna-Seq) is wrong. There are elements with a value smaller than specified by range.
Range from dataset: [-3.9958313880451723, 3.9958313880451723]
Actual lowest value: -3.99583148956
Steps to reproduce
Observed behavior
Problem:
Range of dataset (id=tcgaKircMrna-Seq) is wrong. There are elements with a value smaller than specified by range. Range from dataset: [-3.9958313880451723, 3.9958313880451723] Actual lowest value: -3.99583148956