-
Notifications
You must be signed in to change notification settings - Fork 26
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
add append for Datasets in Data objects #161
Conversation
* change table to use the newly defined append method
Codecov Report
@@ Coverage Diff @@
## dev #161 +/- ##
==========================================
+ Coverage 69.85% 69.91% +0.05%
==========================================
Files 30 30
Lines 5756 5767 +11
Branches 1353 1355 +2
==========================================
+ Hits 4021 4032 +11
+ Misses 1307 1302 -5
- Partials 428 433 +5
Continue to review full report at Codecov.
|
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.
It would be nice to have tests for these new cases for append. Other than that this looks good to me.
Suggestion: on line 58 of src/hdmf/common/table.py: change |
@oruebel yeah, we should write some tests in hdmf. I just wanted to get this in the queue so the whole team could be on board with these changes. |
I added the tests to |
@oruebel is this OK to merge? |
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.
@bendichter looks good. Just FYI, this change introduces an issue in that with this Data
is now dependent on the HDF5 backend. This means., if we add new backends the changes are no longer contained to a new HDMFIO class, but we'd need to update Data
as well. However, this is a non-trivial issue. For now, lets merge this and we'll worry about fixing this as we work on getting the Zarr backend ready for merge.
@oruebel Yes, I agree it would be better to define these methods in a way that is supportable within the different backend modules once we are supporting other backends. |
change table to use the newly defined append method
needed for NeurodataWithoutBorders/pynwb#1067