-
Notifications
You must be signed in to change notification settings - Fork 24
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
[Backend Config ~ Reference ~ DO NOT MERGE] move H5DataIO from add_* functions and methods to dataset configuration #475
Conversation
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
# Conflicts: # src/neuroconv/tools/nwb_helpers.py
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
extracted_data = electrical_series.data[:] | ||
extracted_data = np.vstack([x.data for x in electrical_series.data]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What was the reason for this series of changes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When you wrap a DataChunkIterator
object in a DataIO
object, you can use [:]
to access the data, however if you are trying to access the data directly from a DataChunkIterator
object, you need to iterate through it.
This can at last be closed as all relevant aspects used for reference have been merged |
The goal of this PR is to:
H5DataIO
fromadd_*
functions and methods. These functions and methods should now only be used to assemble the data and metadata, but should be backend-agnostic.configure_datasets
method toBaseDataInterface
this PR is blocked by hdmf-dev/hdmf#868