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

[Backend Config ~ Reference ~ DO NOT MERGE] move H5DataIO from add_* functions and methods to dataset configuration #475

Closed
wants to merge 14 commits into from

Conversation

bendichter
Copy link
Contributor

@bendichter bendichter commented Jun 10, 2023

The goal of this PR is to:

  1. Remove H5DataIO from add_* functions and methods. These functions and methods should now only be used to assemble the data and metadata, but should be backend-agnostic.
  2. Add configure_datasets method to BaseDataInterface

this PR is blocked by hdmf-dev/hdmf#868

@bendichter bendichter requested a review from CodyCBakerPhD June 18, 2023 18:03
Comment on lines -89 to +78
extracted_data = electrical_series.data[:]
extracted_data = np.vstack([x.data for x in electrical_series.data])
Copy link
Member

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?

Copy link
Contributor Author

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.

@CodyCBakerPhD CodyCBakerPhD changed the title remove H5DataIO from add_* functions and methods move H5DataIO from add_* functions and methods to dataset configuration Jun 19, 2023
@CodyCBakerPhD CodyCBakerPhD changed the title move H5DataIO from add_* functions and methods to dataset configuration [Backend Config ~ Reference ~ DO NOT MERGE] move H5DataIO from add_* functions and methods to dataset configuration Aug 28, 2023
@CodyCBakerPhD
Copy link
Member

This can at last be closed as all relevant aspects used for reference have been merged

@CodyCBakerPhD CodyCBakerPhD deleted the mv_io branch July 11, 2024 15:40
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