Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError histogram with Nan values #125

Open
will-moore opened this issue May 31, 2023 · 0 comments
Open

ValueError histogram with Nan values #125

will-moore opened this issue May 31, 2023 · 0 comments

Comments

@will-moore
Copy link
Member

https://www.openmicroscopy.org/qa2/qa/feedback/33035/

Traceback (most recent call last):

File "/opt/omero/web/venv3/lib64/python3.6/site-packages/django/core/handlers/exception.py", line 47, in inner
response = get_response(request)

File "/opt/omero/web/venv3/lib64/python3.6/site-packages/django/core/handlers/base.py", line 181, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)

File "/opt/omero/web/venv3/lib64/python3.6/site-packages/omeroweb/decorators.py", line 538, in wrapped
retval = f(request, *args, **kwargs)

File "/opt/omero/web/venv3/lib64/python3.6/site-packages/omero_parade/views.py", line 195, in get_data
bins=bins)

File "<__array_function__ internals>", line 6, in histogram

File "/opt/omero/web/venv3/lib64/python3.6/site-packages/numpy/lib/histograms.py", line 792, in histogram
bin_edges, uniform_bins = _get_bin_edges(a, bins, range, weights)

File "/opt/omero/web/venv3/lib64/python3.6/site-packages/numpy/lib/histograms.py", line 396, in _get_bin_edges
first_edge, last_edge = _get_outer_edges(a, range)

File "/opt/omero/web/venv3/lib64/python3.6/site-packages/numpy/lib/histograms.py", line 324, in _get_outer_edges
"autodetected range of [{}, {}] is not finite".format(first_edge, last_edge))

ValueError: autodetected range of [nan, nan] is not finite
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant