Skip to content

Submoduled Schema Release

Compare
Choose a tag to compare
@lawrence-mbf lawrence-mbf released this 24 Dec 18:24
· 649 commits to master since this release
e283f26

This release adds a new schema selection feature and alters generateCore, generateExtension, and nwbRead accordingly.

  • Schemas are now submodules, so those who are using git should call git submodule update --init --recursive to be able generate the core schema again. Furthermore, those cloning with git should use git clone --recurse-submodules <url>.
  • When nwbRead is called on a file without a schema, it will attempt to call generateCore with the embedded version string automatically. A schema error will only be thrown if the embedded schema does not exist.
  • generateCore is now called with only one argument, which is a char array designating the desired schema version string (i.e. '2.2.5'). When called without arguments, the most recent nwb schema version is generated (right now, '2.2.5'). The old behavior where generateCore could be given multiple extension namespace paths has been moved to generateExtension.
  • 'generateExtensioncan now take multiple arguments. This is a replacement for deprecating thegenerateCore` behavior.