-
Notifications
You must be signed in to change notification settings - Fork 84
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
validator should be able to output machine readable results #1179
Comments
Thanks @t-b , this sounds like a useful feature! |
Hi, I would appreciate it if this feature is added. @pgleeson and I are working on a GSoC project and one of the goals is to test NWB files' compatibility with NWBExplorer, thus having the validator's logs will be useful for debugging purposes. |
Check out NWB inspector. It calls validation and has this json output feature |
NWB inspector calls validation via this method? The NWB inspector documentation/README file says "This inspector is meant as a companion to the pynwb validator, which checks for strict schema compliance. In contrast, this tool attempts to apply some common sense to find components of the file that are technically compliant, but probably incorrect, or suboptimal, or deviate from best practices". If I understand correctly, users are recommended to use both pynwb validator and NWB inspector, as they serve different purposes? |
nwb inspector has its own check and calls the validator and returns any errors, so you don't need to call both. |
great, thanks! |
Could be JSON using
--json
in a format likeThe text was updated successfully, but these errors were encountered: