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 when exporting a dataset #257

Open
paulmueller opened this issue Mar 31, 2023 · 0 comments
Open

ValueError when exporting a dataset #257

paulmueller opened this issue Mar 31, 2023 · 0 comments

Comments

@paulmueller
Copy link
Member

We are encountering the following error when trying to export from a data file. It seems like the acquisition software might have stored the wrong information in the raw data, because there is not supposed to be fluorescence data in that dataset.

Here are the data: https://owncloud.gwdg.de/index.php/s/uCLYsJoIv9mEvuA

Unhandled exception in BMicro version 0.8.1.post1:
Traceback (most recent call last):
  File "/home/paul/repos/BMicro/bmicro/gui/main.py", line 333, in export_file
    ExportController().export(self.export_config)
  File "/home/paul/repos/bmlab/bmlab/controllers.py", line 1122, in export
    FluorescenceExport().export(configuration)
  File "/home/paul/repos/bmlab/bmlab/export/fluorescence_export.py", line 201, in export
    np.min(idx[1]),
  File "<__array_function__ internals>", line 200, in amin
  File "/home/paul/repos/BMicro/.env/lib/python3.10/site-packages/numpy/core/fromnumeric.py", line 2946, in amin
    return _wrapreduction(a, np.minimum, 'min', axis, None, out,
  File "/home/paul/repos/BMicro/.env/lib/python3.10/site-packages/numpy/core/fromnumeric.py", line 86, in _wrapreduction
    return ufunc.reduce(obj, axis, dtype, out, **passkwargs)
ValueError: zero-size array to reduction operation minimum which has no identity

image

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