-
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
Ensure core
and hdmf-common
specifications are embedded in NWBFile by default
#674
base: main
Are you sure you want to change the base?
Conversation
…in file on export
…urodataWithoutBorders/matnwb into 673-embed-specs-in-empty-file
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #674 +/- ##
==========================================
- Coverage 95.33% 95.28% -0.05%
==========================================
Files 139 139
Lines 5311 5328 +17
==========================================
+ Hits 5063 5077 +14
- Misses 248 251 +3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
Improve warning message
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.
Fix unrelated bug in test suite
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.
Fix unrelated issue. Make sure the path is actually a folder before calling rmdir
@@ -152,12 +161,20 @@ function export(obj, filename, mode) | |||
function embedSpecifications(obj, output_file_id) | |||
jsonSpecs = schemes.exportJson(); |
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.
This works, but ideally namespaces would get parsed and saved in the mat-file cache in the schemes.exportJson() function if the are missing.
This would require a bit more refactoring though, and not sure if that is worth it @bendichter ?
Fix #673
Motivation
Ensure
core
andhdmf-common
specifications are embedded by default.How to test the behavior?
Checklist
fix #XX
whereXX
is the issue number?