-
Notifications
You must be signed in to change notification settings - Fork 32
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
592 improve warning message at types util check unset #593
592 improve warning message at types util check unset #593
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #593 +/- ##
==========================================
+ Coverage 90.57% 90.60% +0.02%
==========================================
Files 105 106 +1
Lines 4657 4671 +14
==========================================
+ Hits 4218 4232 +14
Misses 439 439 ☔ View full report in Codecov by Sentry. |
Fix: avoid showing warning twice
@ehennestad it would be helpful if you could include a bit more explanation in these PRs. On the master branch I get that this reads correctly with a warning about a description that was unexpected, but not where it is in the file:
after the change the warning is improved to:
which is much better because it tells me exactly where the error is coming from. The error is improved and that is the point of this PR so that's great. But while we are here let's also look at the schema violation. VectorIndex is defined here: There is indeed a description. Now let's see what the rules are. VectorIndex is defined here. No description. Now let's see it's parent, VectorData, defined here, which DOES define a description! So why does MatNWB not expect it? Maybe this is based on a different version of the schema? |
The names and version of the embedded namespaces for that file is:
There are two things that are off here:
|
Fix #592
Motivation
More informative warning message when parsing datasets
How to test the behavior?
download the following file:
https://api.dandiarchive.org/api/assets/b4ca3863-2892-4706-af75-e5650fed46eb/download/
Checklist
fix #XX
whereXX
is the issue number?