Quick usage example:
nwb = NwbFile('Data/161215_15_34_21.nwb');
gui = DisplayVideos(nwb);For examples of using the API from Matlab analysis scripts, see https://github.com/SilverLabUCL/Data-Analysis-Hana/blob/hdf5-experiment/RunUsingNwb.m
Tests are stored in the tests folder.
New tests are written as classes named like TestSomething within this folder.
It's probably easiest to start by copying the structure of an existing test.
Tests may be run locally,
and are also run automatically when pushing to the master branch or creating/updating pull requests.
Within Matlab, change to the MATLAB/tests folder (or add it to your path) then run
TestRunner()
Results are displayed at http://jenkins.rc.ucl.ac.uk/ - ask Jonathan Cooper to give your GitHub account permissions to see this. Tests of the master branch are at http://jenkins.rc.ucl.ac.uk/job/SilverLab-main/ and for pull requests under http://jenkins.rc.ucl.ac.uk/job/SilverLab-pull-request/.
You can also see results of specific builds linked from the pull requests / commits themselves. Click on 'Console output' to see the actual test output (scrolling past a lot of test environment setup output!).