Skip to content

Commit

Permalink
Removing retrieveModels
Browse files Browse the repository at this point in the history
  • Loading branch information
laurentheirendt committed Oct 21, 2017
1 parent 66e2b40 commit 43c676c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 18 deletions.
3 changes: 0 additions & 3 deletions .ci/runTutorial.m
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ function runTutorial(tutorialName)
% run the official initialisation script
initCobraToolbox

% retrieve the models first
retrieveModels;

% set a default solver
changeCobraSolver('glpk');
fprintf('Default solver is set to GLPK\n');
Expand Down
12 changes: 0 additions & 12 deletions initCobraToolbox.m
Original file line number Diff line number Diff line change
Expand Up @@ -251,18 +251,6 @@ function initCobraToolbox()
end
end

% retrieve the models
xmlTestFile = strcat([CBTDIR, filesep, 'test', filesep, 'models', filesep, 'Ec_iAF1260_flux1.xml']);
if ENV_VARS.printLevel
fprintf(' > Retrieving models ...');
end
if ~exist(xmlTestFile, 'file')
retrieveModels(0);
end
if ENV_VARS.printLevel
fprintf(' Done.\n');
end

% save the userpath
originalUserPath = path;

Expand Down
3 changes: 0 additions & 3 deletions test/testAll.m
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,6 @@
% save the userpath
originalUserPath = path;

% retrieve the models first
retrieveModels;

% run the tests in the subfolder verifiedTests/ recursively
result = runtests('./test/', 'Recursively', true, 'BaseFolder', '*verified*');

Expand Down

0 comments on commit 43c676c

Please sign in to comment.