Skip to content
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

Add validation tests #22

Merged
merged 16 commits into from
May 2, 2024
Merged

Add validation tests #22

merged 16 commits into from
May 2, 2024

Conversation

stephprince
Copy link
Collaborator

@stephprince stephprince commented Apr 23, 2024

Fix #21.

These changes will add validation CI to check that the NWB files being generated by the test suite are valid and follow best practices. As part of this, there were a couple of changes to make for the files generated so far.

  • fix formatting of spec caching
  • add hdmf-experimental spec
  • add .specloc attribute
  • fix file_create_date generation to correctly add timezone offset
  • save file_create_date as an array with a variable length string
  • fix the identifier attribute to be unique across files

src/hdf5/HDF5IO.hpp Outdated Show resolved Hide resolved
src/Utils.hpp Outdated Show resolved Hide resolved
@stephprince stephprince changed the title [WIP] Add validation tests Add validation tests Apr 25, 2024
@stephprince stephprince merged commit a2519a0 into main May 2, 2024
7 checks passed
@stephprince stephprince deleted the add-validation-tests branch May 2, 2024 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add file validation CI
2 participants