MATLAB.devTools - Contribute the smart way
|MATLAB R2016b||MATLAB R2015b||Code Coverage||Code Grade|
All repositories on Github are version controlled using git, a free and open-source distributed, version control system, which tracks changes in computer files and is used for coordinating work on those files by multiple people.
In order to lower the technological barrier to the use of the popular software development tool git, we have developed MATLAB.devTools, a new user-friendly software extension that enables submission of new COBRA software and tutorials, in particular for The COBRA Toolbox and the COBRA.tutorials.
The MATLAB.devTools are highly recommended for contributing code (in particular MATLAB code) to existing repositories in a user-friendly and convenient way, even for those without basic knowledge of git.
Please follow the configuration
carefully. You may skip this if your system is already set up and you
IMPORTANT: Please make sure that you have configured your SSH key in Github as explained here.
Download this repository (the folder
./MATLAB.devTools/ will be
created). You can clone the repository using:
$ git clone firstname.lastname@example.org:opencobra/MATLAB.devTools.git MATLAB.devTools
Some issues that can arise during installation are addressed in the FAQ.
Do you want to contribute to The COBRA Toolbox?
How do I use the
You will then be presented by a menu:
 Start a new branch.  Select an existing branch to work on.  Publish a branch.  Delete a branch.  Update the fork. -> Please select what you want to do (enter the number):
The original repository will be downloaded (cloned) the first time to a
fork-gitRepoName. Only files in the
fork-gitRepoName folder will be considered for contribution (any
changes made to a downloaded official
git repository will be
If you get stuck or are faced with an system error message, please read the FAQ.
How can I update my fork without contributing?
In order to only update your fork, run
>> contribute and select menu
If you want to use the
MATLAB.devTools when contributing to the
COBRA.tutorials, you can simply configure
MATLAB.devTools on-the-fly by typing:
MATLAB.devTools for another repository
If you want to use the
MATLAB.devTools with a repository other than
the default repository, you may run:
userName is the name on Github of the organization or the user, and
repositoryName is the name of the repository. The URL of the repository
would be https://github.com/userName/repositoryName. Please note that this
command looks for a repository on github.com.
How to reset the
In order to reset the configuration of the
This performs a so-called soft reset (clears the local configuration). In
order to perform a hard reset (clears and resets the local
Once the devTools have been hard reset, all details for the configuration
have to be set again next time
contribute is run.
How to cite the
MATLAB.devTools have first been developed for the COBRA Toolbox, the
paper of The COBRA Toolbox shall we cited when referring to the
Laurent Heirendt & Sylvain Arreckx, Thomas Pfau, Sebastian N. Mendoza, Anne Richelle, Almut Heinken, Hulda S. Haraldsdottir, Jacek Wachowiak, Sarah M. Keating, Vanja Vlasov, Stefania Magnusdottir, Chiam Yu Ng, German Preciat, Alise Zagare, Siu H.J. Chan, Maike K. Aurich, Catherine M. Clancy, Jennifer Modamio, John T. Sauls, Alberto Noronha, Aarash Bordbar, Benjamin Cousins, Diana C. El Assal, Luis V. Valcarcel, Inigo Apaolaza, Susan Ghaderi, Masoud Ahookhosh, Marouen Ben Guebila, Andrejs Kostromins, Nicolas Sompairac, Hoai M. Le, Ding Ma, Yuekai Sun, Lin Wang, James T. Yurkovich, Miguel A.P. Oliveira, Phan T. Vuong, Lemmer P. El Assal, Inna Kuperstein, Andrei Zinovyev, H. Scott Hinton, William A. Bryant, Francisco J. Aragon Artacho, Francisco J. Planes, Egils Stalidzans, Alejandro Maass, Santosh Vempala, Michael Hucka, Michael A. Saunders, Costas D. Maranas, Nathan E. Lewis, Thomas Sauter, Bernhard Ø. Palsson, Ines Thiele, Ronan M.T. Fleming, Creation and analysis of biochemical constraint-based models: the COBRA Toolbox v3.0 (submitted), 2017, arXiv:1710.04038.