-
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
in validation, add check for if a varlen datasets is empty #789
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #789 +/- ##
==========================================
+ Coverage 88.46% 88.50% +0.04%
==========================================
Files 45 45
Lines 9579 9582 +3
Branches 2723 2724 +1
==========================================
+ Hits 8474 8481 +7
+ Misses 781 778 -3
+ Partials 324 323 -1 ☔ View full report in Codecov by Sentry. |
Co-authored-by: Oliver Ruebel <[email protected]>
Co-authored-by: Oliver Ruebel <[email protected]>
I think this fix looks appropriate. Now we need a test. |
Ok, I have a test that will trigger the issue. I'll just add it to this PR. |
@rly can you please review this PR. I made a bunch of changes on the PR so I should not be the approver. The main change is the following line, to make sure the validator works if we encounter an empty dataset of strings (e.g, an empty hdmf/src/hdmf/validate/validator.py Lines 144 to 146 in d2f916e
The other changes are mainly to add inline comments to make the |
Motivation
fix #788
@oruebel here's my attempt