Skip to content

Commit

Permalink
Merge pull request #610 from NeurodataWithoutBorders/add-code-section…
Browse files Browse the repository at this point in the history
…-read-remote-tutorial

Add code section for MATLAB expressions in "Remote Read" tutorial
  • Loading branch information
ehennestad authored Nov 1, 2024
2 parents afd34b0 + 7511c33 commit 6717aa1
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 18 deletions.
5 changes: 3 additions & 2 deletions +tests/+unit/TutorialTest.m
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
'basicUsage.mlx', ... % depends on external data
'convertTrials.m', ... % depends on basicUsage output
'formatStruct.m', ... % Actually a utility script, not a tutorial
'read_demo.mlx'}; % depends on external data
'read_demo.mlx', ... % depends on external data
'remote_read.mlx'}; % Uses nwbRead on s3 url, potentially very slow

% SkippedFiles - Name of exported nwb files to skip reading with pynwb
SkippedFiles = {'testFileWithDataPipes.nwb'} % does not produce a valid nwb file
Expand Down Expand Up @@ -78,7 +79,7 @@ function setupMethod(testCase)

methods (Test)
function testTutorial(testCase, tutorialFile) %#ok<INUSD>
run(tutorialFile)
C = evalc( 'run(tutorialFile)' ); %#ok<NASGU>
testCase.testReadTutorialNwbFileWithPynwb()
end
end
Expand Down
Loading

0 comments on commit 6717aa1

Please sign in to comment.