SysBioChalmers / RAVEN

The RAVEN Toolbox for genome scale model reconstruction, curation and analysis.
http://sysbiochalmers.github.io/RAVEN/
Other
100 stars 52 forks source link

fix: checkInstallation on mac #454

Closed ae-tafur closed 1 year ago

ae-tafur commented 1 year ago

Main improvements in this PR:

bug where checkInstallation needs validation on Mac. But which function in MATLAB only work if the file exits in the MATLAB path. Then, validation lines are relocated.

Initial output:

`>> checkInstallation

THE RAVEN TOOLBOX

Checking RAVEN release 2.7.8 You are running the latest RAVEN release Checking MATLAB release 2022a Checking system architecture maci64 Make binaries executable Error using checkInstallation>makeBinaryExecutable Failed to make blastp.mac executable: chmod: : No such file or directory

Error in checkInstallation (line 66) status = makeBinaryExecutable();`

Output after adjust:

`>> checkInstallation

THE RAVEN TOOLBOX

Checking RAVEN release DEVELOPMENT Checking MATLAB release 2022a Checking system architecture maci64 Set RAVEN in MATLAB path Pass Make binaries executable Pass

=== Model import and export ===

Add Java paths for Excel format Pass Checking libSBML version 5.19.0 Checking model import and export Import Excel format Pass Export Excel format Pass Import SBML format Pass Export SBML format Pass

=== Model solvers ===

Checking for LP solvers glpk Pass gurobi Pass cobra Fail Checking for MILP solvers glpk Pass While passing here, we do not recommended glpk for MILPs due to occasional inconsistent results gurobi Pass cobra Pass Set RAVEN solver gurobi

=== Essential binary executables ===

Checking BLAST+ Pass Checking DIAMOND Pass Checking HMMER Pass

=== Compatibility ===

Checking function uniqueness Pass

checkInstallation complete `

I hereby confirm that I have: