Skip to content

Commit

Permalink
debug unexpected pynwb version
Browse files Browse the repository at this point in the history
ehennestad committed Nov 27, 2024
1 parent 061ae57 commit 2cd2625
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions +tests/+unit/PynwbTutorialTest.m
Original file line number Diff line number Diff line change
@@ -177,7 +177,9 @@ function installPythonDependencies(testCase)
for i = 1:numel(testCase.PythonDependencies)
iName = testCase.PythonDependencies{i};
installCmdStr = sprintf('%s install %s', pipExecutable, iName);
evalc( "system(installCmdStr)" ); % Install without command window output
[s,m] = system(installCmdStr);
disp(m)
%evalc( "system(installCmdStr)" ); % Install without command window output
end
end
end
@@ -213,7 +215,7 @@ function installPythonDependencies(testCase)
end

function pynwbFolder = downloadPynwb()
githubUrl = 'https://github.com/NeurodataWithoutBorders/pynwb/archive/refs/heads/master.zip';
githubUrl = 'https://github.com/NeurodataWithoutBorders/pynwb/archive/refs/heads/dev.zip';
pynwbFolder = downloadZippedGithubRepo(githubUrl, '.'); % Download in current directory
end

2 changes: 1 addition & 1 deletion +types/+core/NWBFile.m
Original file line number Diff line number Diff line change
@@ -65,7 +65,7 @@
methods
function obj = NWBFile(varargin)
% NWBFILE Constructor for NWBFile
varargin = [{'nwb_version' '2.8.0', 'general_was_generated_by', {'matnwb'; '2.8.0'}} varargin];
varargin = [{'nwb_version' '2.8.0'} varargin];
obj = [email protected](varargin{:});


0 comments on commit 2cd2625

Please sign in to comment.