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

Writer: Properly handle export of features that are empty (all-gated-out) or all-nan. #242

Closed
paulmueller opened this issue Nov 20, 2023 · 0 comments
Labels

Comments

@paulmueller
Copy link
Member

Traceback (most recent call last):
  File "shapeout2\gui\export\e2data.py", line 46, in done
    self.export_data()
  File "shapeout2\gui\widgets\wait_cursor.py", line 31, in wrapper
    ret = func(*args, **kwargs)
  File "shapeout2\gui\export\e2data.py", line 89, in export_data
    ds.export.hdf5(
  File "dclab\rtdc_dataset\export.py", line 318, in hdf5
  File "dclab\rtdc_dataset\export.py", line 470, in store_filtered_feature
  File "dclab\rtdc_dataset\writer.py", line 295, in store_feature
  File "dclab\rtdc_dataset\writer.py", line 662, in write_ndarray
  File "numpy\lib\nanfunctions.py", line 350, in nanmin
  File "numpy\core\fromnumeric.py", line 2970, in amin
  File "numpy\core\fromnumeric.py", line 88, in _wrapreduction
ValueError: zero-size array to reduction operation minimum which has no identity
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant