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

Fix issue #583: test tutorial files across languages #587

Merged
merged 18 commits into from
Sep 10, 2024

Conversation

ehennestad
Copy link
Collaborator

@ehennestad ehennestad commented Sep 7, 2024

Fix #583

Motivation

Improve testing across matnwb and pynwb through reading nwb files produced by matnwb tutorials using pynwb and vice versa

How to test the behavior?

testSuiteMatnwbTutorials = matlab.unittest.TestSuite.fromClass(?tests.unit.TutorialTest)
testSuitePynwbTutorials = matlab.unittest.TestSuite.fromClass(?tests.unit.PynwbTutorialTest)

runner = matlab.unittest.TestRunner.withTextOutput()
results = runner.run([testSuiteMatnwbTutorials, testSuitePynwbTutorials])

Checklist

  • Have you ensured the PR description clearly describes the problem and solutions?
  • Have you checked to ensure that there aren't other open or previously closed Pull Requests for the same change?
  • If this PR fixes an issue, is the first line of the PR description fix #XX where XX is the issue number?

Add function to create a filepath for saving tutorial nwb files in a fixed folder
Also, use misc.getTutorialNwbFilePath to create a filepath for saving tutorial nwb file
Add "extensions" tutorial to skipped tutorials as it has an unresolved issue
Specify timezone for session start time when creating nwb object
Fix maxSize of DataPipe in random_exp_index (VectorIndex object)
@bendichter bendichter merged commit 529e086 into master Sep 10, 2024
1 check failed
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.

[Testing] Add tests for reading tutorial NWB files with pynwb and vice versa
2 participants