Closed bendichter closed 4 years ago
We could also do what pynwb does and attach nwb-schema as a submodule at a specific commit. What do you think of that, @ln-vidrio
The only hangup against moving to submodules is that users who are using git to manage matnwb must know that submodules now exist, otherwise their schemas will never actually be updated. I have no idea how many users are actually using this method though.
generateCore
currently expects pathsschema/core/nwb.namespace.yaml
andschema/common/namespace.yaml
.git clone https://github.com/NeurodataWithoutBorders/nwb-schema.git
creates filepath
nwb-schema/core/nwb.namespace.yaml
and the core is missing because you need to callgit clone
in recursive mode. If you correct that, calling insteadgit clone --recursive https://github.com/NeurodataWithoutBorders/nwb-schema.git
you also get path
nwb-schema/hdmf-common-schema/common/namespace.yaml
. In order to update our code to the current schema, we need togenerateCore