diff --git a/doc/installation/checkInstallation.html b/doc/installation/checkInstallation.html
index 3804091d..3f5370a0 100644
--- a/doc/installation/checkInstallation.html
+++ b/doc/installation/checkInstallation.html
@@ -248,7 +248,7 @@
SOURCE CODE end
0180
0181 fprintf(myStr(' > Export Excel format',40))
-0182 if res(3).Passed == 1
+0182 if res(4).Passed == 1
0183 fprintf('Pass\n')
0184 else
0185 printOrange('Fail\n')
@@ -262,186 +262,191 @@ SOURCE CODE end
0194
0195 fprintf(myStr(' > Export SBML format',40))
-0196 if res(4).Passed == 1
+0196 if res(5).Passed == 1
0197 fprintf('Pass\n')
0198 else
0199 printOrange('Fail\n')
0200 end
0201
-0202
-0203
-0204
-0205
-0206
-0207
-0208
-0209
-0210
-0211 fprintf('\n=== Model solvers ===\n');
-0212
-0213
-0214 fprintf(' > Checking for LP solvers\n')
-0215 [~,res]=evalc("runtests('solverTests.m');");
-0216
-0217 fprintf(myStr(' > glpk',40))
-0218 if res(1).Passed == 1
-0219 fprintf('Pass\n')
-0220 else
-0221 printOrange('Fail\n')
-0222 end
-0223
-0224 fprintf(myStr(' > gurobi',40))
-0225 if res(2).Passed == 1
-0226 fprintf('Pass\n')
-0227 else
-0228 printOrange('Fail\n')
-0229 end
-0230
-0231 fprintf(myStr(' > scip',40))
-0232 if res(3).Passed == 1
-0233 fprintf('Pass\n')
-0234 else
-0235 printOrange('Fail\n')
-0236 end
-0237
-0238 fprintf(myStr(' > cobra',40))
-0239 if res(4).Passed == 1
-0240 fprintf('Pass\n')
-0241 else
-0242 printOrange('Fail\n')
-0243 end
-0244 fprintf(myStr(' > Set RAVEN solver',40))
-0245 try
-0246 oldSolver=getpref('RAVEN','solver');
-0247 solverIdx=find(strcmp(oldSolver,{'glpk','gurobi','scip','cobra'}));
-0248 catch
-0249 solverIdx=0;
-0250 end
-0251
-0252 if solverIdx~=0 && res(solverIdx).Passed == 1
-0253 fprintf([oldSolver '\n'])
-0254
-0255 elseif res(2).Passed == 1
-0256 fprintf('gurobi\n')
-0257 setRavenSolver('gurobi');
-0258 elseif res(1).Passed == 1
-0259 fprintf('glpk\n')
-0260 setRavenSolver('glpk');
-0261 elseif res(3).Passed == 1
-0262 fprintf('scip\n')
-0263 setRavenSolver('scip');
-0264 elseif res(4).Passed == 1
-0265 fprintf('cobra\n')
-0266 setRavenSolver('cobra');
-0267 else
-0268 fprintf('None, no functional solvers\n')
-0269 fprintf(' The glpk should always be working, check your RAVEN installation to make sure all files are present\n')
-0270 end
-0271
-0272 fprintf('\n=== Essential binary executables ===\n');
-0273 fprintf(myStr(' > Checking BLAST+',40))
-0274 [~,res]=evalc("runtests('blastPlusTests.m');");
-0275 res=interpretResults(res);
-0276 if res==false
-0277 fprintf(' This is essential to run getBlast()\n')
-0278 end
-0279
-0280 fprintf(myStr(' > Checking DIAMOND',40))
-0281 [~,res]=evalc("runtests('diamondTests.m');");
-0282 res=interpretResults(res);
-0283 if res==false
-0284 fprintf(' This is essential to run the getDiamond()\n')
-0285 end
-0286
-0287 fprintf(myStr(' > Checking HMMER',40))
-0288 [~,res]=evalc("runtests('hmmerTests.m')");
-0289 res=interpretResults(res);
-0290 if res==false
-0291 fprintf([' This is essential to run getKEGGModelFromHomology()\n'...
-0292 ' when using a FASTA file as input\n'])
-0293 end
-0294
-0295 if developMode
-0296 fprintf('\n=== Development binary executables ===\n');
-0297 fprintf('NOTE: These binaries are only required when using KEGG FTP dump files in getKEGGModelForOrganism\n');
-0298
-0299 fprintf(myStr(' > Checking CD-HIT',40))
-0300 [~,res]=evalc("runtests('cdhitTests.m');");
-0301 interpretResults(res);
-0302
-0303 fprintf(myStr(' > Checking MAFFT',40))
-0304 [~,res]=evalc("runtests('mafftTests.m');");
-0305 interpretResults(res);
-0306 end
+0202 fprintf(myStr(' > Import YAML format',40))
+0203 if res(3).Passed == 1
+0204 fprintf('Pass\n')
+0205 else
+0206 printOrange('Fail\n')
+0207 end
+0208
+0209 fprintf(myStr(' > Export YAML format',40))
+0210 if res(6).Passed == 1
+0211 fprintf('Pass\n')
+0212 else
+0213 printOrange('Fail\n')
+0214 end
+0215
+0216 fprintf('\n=== Model solvers ===\n');
+0217
+0218
+0219 fprintf(' > Checking for LP solvers\n')
+0220 [~,res]=evalc("runtests('solverTests.m');");
+0221
+0222 fprintf(myStr(' > glpk',40))
+0223 if res(1).Passed == 1
+0224 fprintf('Pass\n')
+0225 else
+0226 printOrange('Fail\n')
+0227 end
+0228
+0229 fprintf(myStr(' > gurobi',40))
+0230 if res(2).Passed == 1
+0231 fprintf('Pass\n')
+0232 else
+0233 printOrange('Fail\n')
+0234 end
+0235
+0236 fprintf(myStr(' > scip',40))
+0237 if res(3).Passed == 1
+0238 fprintf('Pass\n')
+0239 else
+0240 printOrange('Fail\n')
+0241 end
+0242
+0243 fprintf(myStr(' > cobra',40))
+0244 if res(4).Passed == 1
+0245 fprintf('Pass\n')
+0246 else
+0247 printOrange('Fail\n')
+0248 end
+0249 fprintf(myStr(' > Set RAVEN solver',40))
+0250 try
+0251 oldSolver=getpref('RAVEN','solver');
+0252 solverIdx=find(strcmp(oldSolver,{'glpk','gurobi','scip','cobra'}));
+0253 catch
+0254 solverIdx=0;
+0255 end
+0256
+0257 if solverIdx~=0 && res(solverIdx).Passed == 1
+0258 fprintf([oldSolver '\n'])
+0259
+0260 elseif res(2).Passed == 1
+0261 fprintf('gurobi\n')
+0262 setRavenSolver('gurobi');
+0263 elseif res(1).Passed == 1
+0264 fprintf('glpk\n')
+0265 setRavenSolver('glpk');
+0266 elseif res(3).Passed == 1
+0267 fprintf('scip\n')
+0268 setRavenSolver('scip');
+0269 elseif res(4).Passed == 1
+0270 fprintf('cobra\n')
+0271 setRavenSolver('cobra');
+0272 else
+0273 fprintf('None, no functional solvers\n')
+0274 fprintf(' The glpk should always be working, check your RAVEN installation to make sure all files are present\n')
+0275 end
+0276
+0277 fprintf('\n=== Essential binary executables ===\n');
+0278 fprintf(myStr(' > Checking BLAST+',40))
+0279 [~,res]=evalc("runtests('blastPlusTests.m');");
+0280 res=interpretResults(res);
+0281 if res==false
+0282 fprintf(' This is essential to run getBlast()\n')
+0283 end
+0284
+0285 fprintf(myStr(' > Checking DIAMOND',40))
+0286 [~,res]=evalc("runtests('diamondTests.m');");
+0287 res=interpretResults(res);
+0288 if res==false
+0289 fprintf(' This is essential to run the getDiamond()\n')
+0290 end
+0291
+0292 fprintf(myStr(' > Checking HMMER',40))
+0293 [~,res]=evalc("runtests('hmmerTests.m')");
+0294 res=interpretResults(res);
+0295 if res==false
+0296 fprintf([' This is essential to run getKEGGModelFromHomology()\n'...
+0297 ' when using a FASTA file as input\n'])
+0298 end
+0299
+0300 if developMode
+0301 fprintf('\n=== Development binary executables ===\n');
+0302 fprintf('NOTE: These binaries are only required when using KEGG FTP dump files in getKEGGModelForOrganism\n');
+0303
+0304 fprintf(myStr(' > Checking CD-HIT',40))
+0305 [~,res]=evalc("runtests('cdhitTests.m');");
+0306 interpretResults(res);
0307
-0308 fprintf('\n=== Compatibility ===\n');
-0309 fprintf(myStr(' > Checking function uniqueness',40))
-0310 checkFunctionUniqueness();
-0311
-0312 fprintf('\n*** checkInstallation complete ***\n\n');
-0313 end
-0314
-0315 function res = interpretResults(results)
-0316 if results.Failed==0 && results.Incomplete==0
-0317 fprintf('Pass\n');
-0318 res=true;
-0319 else
-0320 printOrange('Fail\n')
-0321 fprintf(' Download/compile the binary and rerun checkInstallation\n');
-0322 res=false;
-0323 end
-0324 end
-0325
-0326 function str = myStr(InputStr,len)
-0327 str=InputStr;
-0328 lenDiff = len - length(str);
-0329 if lenDiff < 0
-0330 warning('String too long');
-0331 else
-0332 str = [str blanks(lenDiff)];
-0333 end
-0334 end
-0335
-0336 function status = makeBinaryExecutable(ravenDir)
-0337
-0338
-0339 if ispc
-0340 status = 0;
-0341 return;
-0342 end
-0343 binDir = fullfile(ravenDir,'software');
-0344
-0345 binList = {fullfile(binDir,'blast+','blastp'); fullfile(binDir,'blast+','blastp.mac');
-0346 fullfile(binDir,'blast+','makeblastdb'); fullfile(binDir,'blast+','makeblastdb.mac');
-0347 fullfile(binDir,'cd-hit','cd-hit'); fullfile(binDir,'cd-hit','cd-hit.mac');
-0348 fullfile(binDir,'diamond','diamond'); fullfile(binDir,'diamond','diamond.mac');
-0349 fullfile(binDir,'hmmer','hmmbuild'); fullfile(binDir,'hmmer','hmmbuild.mac');
-0350 fullfile(binDir,'hmmer','hmmsearch'); fullfile(binDir,'hmmer','hmmsearch.mac');
-0351 fullfile(binDir,'GLPKmex','glpkcc.mexa64'); fullfile(binDir,'GLPKmex','glpkcc.mexglx'); fullfile(binDir,'GLPKmex','glpkcc.mexmaci64'); fullfile(binDir,'GLPKmex','glpkcc.mexmaca64');
-0352 fullfile(binDir,'libSBML','TranslateSBML_RAVEN.mexa64'); fullfile(binDir,'libSBML','TranslateSBML_RAVEN.mexglx'); fullfile(binDir,'libSBML','TranslateSBML_RAVEN.mexmaci64'); fullfile(binDir,'libSBML','TranslateSBML_RAVEN.mexmaca64');
-0353 fullfile(binDir,'libSBML','OutputSBML_RAVEN.mexa64'); fullfile(binDir,'libSBML','OutputSBML_RAVEN.mexglx'); fullfile(binDir,'libSBML','OutputSBML_RAVEN.mexmaci64'); fullfile(binDir,'libSBML','OutputSBML_RAVEN.mexmaca64');
-0354 fullfile(binDir,'mafft','mafft-linux64','mafft.bat');
-0355 fullfile(binDir,'mafft','mafft-mac','mafft.bat');};
-0356
-0357 for i=1:numel(binList)
-0358 [status,cmdout] = system(['chmod +x "' binList{i} '"']);
-0359 if status ~= 0
-0360 warning('Failed to make %s executable: %s ',binList{i},strip(cmdout))
-0361 end
-0362 end
-0363 end
-0364
-0365 function printOrange(stringToPrint)
-0366
-0367
-0368
-0369 try useDesktop = usejava('desktop'); catch, useDesktop = false; end
-0370 if useDesktop
-0371 fprintf(['[\b' stringToPrint,']\b'])
-0372 else
-0373 fprintf(stringToPrint)
-0374 end
-0375 end
+0308 fprintf(myStr(' > Checking MAFFT',40))
+0309 [~,res]=evalc("runtests('mafftTests.m');");
+0310 interpretResults(res);
+0311 end
+0312
+0313 fprintf('\n=== Compatibility ===\n');
+0314 fprintf(myStr(' > Checking function uniqueness',40))
+0315 checkFunctionUniqueness();
+0316
+0317 fprintf('\n*** checkInstallation complete ***\n\n');
+0318 end
+0319
+0320 function res = interpretResults(results)
+0321 if results.Failed==0 && results.Incomplete==0
+0322 fprintf('Pass\n');
+0323 res=true;
+0324 else
+0325 printOrange('Fail\n')
+0326 fprintf(' Download/compile the binary and rerun checkInstallation\n');
+0327 res=false;
+0328 end
+0329 end
+0330
+0331 function str = myStr(InputStr,len)
+0332 str=InputStr;
+0333 lenDiff = len - length(str);
+0334 if lenDiff < 0
+0335 warning('String too long');
+0336 else
+0337 str = [str blanks(lenDiff)];
+0338 end
+0339 end
+0340
+0341 function status = makeBinaryExecutable(ravenDir)
+0342
+0343
+0344 if ispc
+0345 status = 0;
+0346 return;
+0347 end
+0348 binDir = fullfile(ravenDir,'software');
+0349
+0350 binList = {fullfile(binDir,'blast+','blastp'); fullfile(binDir,'blast+','blastp.mac');
+0351 fullfile(binDir,'blast+','makeblastdb'); fullfile(binDir,'blast+','makeblastdb.mac');
+0352 fullfile(binDir,'cd-hit','cd-hit'); fullfile(binDir,'cd-hit','cd-hit.mac');
+0353 fullfile(binDir,'diamond','diamond'); fullfile(binDir,'diamond','diamond.mac');
+0354 fullfile(binDir,'hmmer','hmmbuild'); fullfile(binDir,'hmmer','hmmbuild.mac');
+0355 fullfile(binDir,'hmmer','hmmsearch'); fullfile(binDir,'hmmer','hmmsearch.mac');
+0356 fullfile(binDir,'GLPKmex','glpkcc.mexa64'); fullfile(binDir,'GLPKmex','glpkcc.mexglx'); fullfile(binDir,'GLPKmex','glpkcc.mexmaci64'); fullfile(binDir,'GLPKmex','glpkcc.mexmaca64');
+0357 fullfile(binDir,'libSBML','TranslateSBML_RAVEN.mexa64'); fullfile(binDir,'libSBML','TranslateSBML_RAVEN.mexglx'); fullfile(binDir,'libSBML','TranslateSBML_RAVEN.mexmaci64'); fullfile(binDir,'libSBML','TranslateSBML_RAVEN.mexmaca64');
+0358 fullfile(binDir,'libSBML','OutputSBML_RAVEN.mexa64'); fullfile(binDir,'libSBML','OutputSBML_RAVEN.mexglx'); fullfile(binDir,'libSBML','OutputSBML_RAVEN.mexmaci64'); fullfile(binDir,'libSBML','OutputSBML_RAVEN.mexmaca64');
+0359 fullfile(binDir,'mafft','mafft-linux64','mafft.bat');
+0360 fullfile(binDir,'mafft','mafft-mac','mafft.bat');};
+0361
+0362 for i=1:numel(binList)
+0363 [status,cmdout] = system(['chmod +x "' binList{i} '"']);
+0364 if status ~= 0
+0365 warning('Failed to make %s executable: %s ',binList{i},strip(cmdout))
+0366 end
+0367 end
+0368 end
+0369
+0370 function printOrange(stringToPrint)
+0371
+0372
+0373
+0374 try useDesktop = usejava('desktop'); catch, useDesktop = false; end
+0375 if useDesktop
+0376 fprintf(['[\b' stringToPrint,']\b'])
+0377 else
+0378 fprintf(stringToPrint)
+0379 end
+0380 end
Generated by m2html © 2005