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

hdf5 dataset reader #173

Closed
bendichter opened this issue Jul 8, 2022 · 3 comments · Fixed by #174
Closed

hdf5 dataset reader #173

bendichter opened this issue Jul 8, 2022 · 3 comments · Fixed by #174
Assignees

Comments

@bendichter
Copy link
Contributor

frames = self._video.lazy_slice[slice_start:slice_stop, :, :, channel].dsetread()

why use lazy_ops and then read the data? This line should simply be

frames = self._video[:, :, :, channel]
@bendichter
Copy link
Contributor Author

@h-mayorquin

@h-mayorquin
Copy link
Collaborator

That was needed for it to work with nwb conversion tools functionality. Something with the add_two_photon_series functionality required the output of get frames to be a numpy array. I will double check it the week after.

@h-mayorquin
Copy link
Collaborator

Ok, I tested the linked branch (#174) against nwb conversion tools and it seems to work but there are some errors there discussed in the pull request.

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 a pull request may close this issue.

2 participants