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

Fix HDF5EventSource.__len__ if allowed_tels is not None #2325

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

maxnoe
Copy link
Member

@maxnoe maxnoe commented May 9, 2023

One of the possible solutions for #2324, however, this performs a potentially expensive operation just to get the correct __len__, which is currently only used to provide a nice progress bar, so it might be better just to remove __len__.

@maxnoe maxnoe force-pushed the fix_hdf5eventsource_len branch from ece264f to 19517b4 Compare November 23, 2023 12:58
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

Successfully merging this pull request may close these issues.

2 participants