hdmf.testing.validate_spec module

hdmf.testing.validate_spec.validate_spec(fpath_spec, fpath_schema)

Validate a yaml specification file against the json schema file that defines the specification language. Can be used to validate changes to the NWB and HDMF core schemas, as well as any extensions to either.

Parameters:
  • fpath_spec – path-like

  • fpath_schema – path-like

hdmf.testing.validate_spec.main()