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 DecompositionSeries example to ecephys tutorial #623

Merged
merged 10 commits into from
Nov 25, 2024
3 changes: 2 additions & 1 deletion +tests/+unit/TutorialTest.m
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,8 @@ function inspectTutorialFileWithNwbInspector(testCase)
results = py.list(py.nwbinspector.inspect_nwbfile(nwbfile_path=nwbFilename));
results = testCase.convertNwbInspectorResultsToStruct(results);
elseif testCase.NWBInspectorMode == "CLI"
[~, m] = system(sprintf('nwbinspector %s --levels importance', nwbFilename));
[s, m] = system(sprintf('nwbinspector %s --levels importance', nwbFilename));
testCase.assertEqual(s,0, 'Failed to run NWB Inspector using system command.')
results = testCase.parseNWBInspectorTextOutput(m);
end

Expand Down
4 changes: 2 additions & 2 deletions +util/table2nwb.m
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@

for col = T
if ~strcmp(col.Properties.VariableNames{1},'id')

if ~isempty(col.Properties.VariableDescriptions{1})
if ~isempty(col.Properties.VariableDescriptions) ...
&& ~isempty(col.Properties.VariableDescriptions{1})
description = col.Properties.VariableDescriptions{1};
else
description = 'no description provided';
Expand Down
Binary file modified tutorials/ecephys.mlx
Binary file not shown.
Loading
Loading