Warning: Name is nonexistent or not a directory:
/home/bhushan/softwares/MATLAB/R2017b/toolbox/matlab/cobratoolbox/external/libSBML-5.15.3-matlab
2. On initializing the COBRA Toolbox using initCobraToolbox, I get the error:
Error using initCobraToolbox (line 188)
The submodules could not be initialized.
How do I fix these errors?
P.S. Every time I update the toolbox through the terminal, I get new errors in the initialization script. They are mostly easy to fix, and I do the same.
However, this time around, I am unable to fix the error. How do I get rid of this cycle?
I am also attaching the script output for reference.
Hello Bhushan,
Did you delete the cobra toolbox directory before you recloned?
What I would do is the following:
start matlab. Run:
restoredefaultpath
savepath
Go to a shell (outside matlab). Run:
rm -rf /home/bhushan/softwares/MATLAB/R2017b/toolbox/matlab/cobratoolbox/
cd /home/bhushan/softwares/MATLAB/R2017b/toolbox/matlab/
git clone g...@github.com:opencobra/cobratoolbox.git cobratoolbox
Go back to matlab
cd
/home/bhushan/softwares/MATLAB/R2017b/toolbox/matlab/cobratoolbox
initCobraToolbox
This should make sure, that no remnants of the old toolbox remain
and that you work with a clean new clone.
Commenting out the submodules can lead to some things not working
properly, so I would not recommend it.
Best
Thomas
--
---
You received this message because you are subscribed to the Google Groups "COBRA Toolbox" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cobra-toolbo...@googlegroups.com.
-- Université du Luxembourg Faculté des Sciences, de la Technologie et de la Communication Campus Belval, Biotech II 115 6 avenue du Swing L-4367 Belvaux Tel: (+352) 46 66 44 5309 Email: thoma...@uni.lu
To unsubscribe from this group and stop receiving emails from it, send an email to cobra-toolbox+unsubscribe@googlegroups.com.
Hi Bhushan,
Please try:
git clone --depth=1 https://github.com/opencobra/cobratoolbox.git cobratoolbox
Best,Hello Thomas,
Thank you for the detailed reply. I really appreciate it.
And to answer your previous query, yes, I had indeed deleted the COBRA Toolbox directory before recloning.
To unsubscribe from this group and stop receiving emails from it, send an email to cobra-toolbo...@googlegroups.com.
For more options, visit http://secure-web.cisco.com/1W0ndd-K2FxUYp9B_6aoIcRLFD6k3-krnmy3-FQVoRJNCbn0H82dtwb4FAwbrEIJQpu-bPB7rMTocNr6Ssi25r0iyP5TsprzHuCtH5_4bNG0Ae1GHCjYrdkHkUgarc2JeYepGVaLGXAxidQ5Mk9T3-BEF_pxMwn03gPfhOZV63QajxnD2plkfbkan_VyCX2nxCBcRqEV_RJ9M64dwJk1IdDsXBzlSn9ya2CB9mWOCqp5iTWOJBPPv1sS8J-Vq4F3IDPzuTNez_o7px31WzKCo-SnEXHLXsFSVfNHtUj9xxRnchLbAHfDYttHShhdY_TYfZ9-1kQ8hGh4LhBjKyuehW1k8G4Ro3qjQR2BoZWeVBbeIdQb16eE2vQ2SSBbXY68JacNnEdxOyIBZskiAhlOKJQ/l34%3Ahttps%3A%2F%2Fgroups.google.com%2Fd%2Foptoute.
git clone --depth=1 https://github.com/opencobra/cobratoolbox.git cobratoolbox
The error however persisted. So, I have edited out the --depth 1 from line 184. The toolbox is initializing fine now.
To unsubscribe from this group and stop receiving emails from it, send an email to cobra-toolbox+unsubscribe@googlegroups.com.