Skip to content

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

Closed
bendichter wants to merge 14 commits into
mainfrom
mv_io
Closed

[Backend Config ~ Reference ~ DO NOT MERGE] move H5DataIO from add_* functions and methods to dataset configuration#475
bendichter wants to merge 14 commits into
mainfrom
mv_io

Conversation

@bendichter

@bendichter bendichter commented Jun 10, 2023

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Contributor

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
Copy Markdown
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
Copy Markdown
Contributor

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