Open t-b opened 4 years ago
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 like