Skip to content

Commit 3a2b995

Browse files
Merge pull request #27 from opencobra/develop
Regular merge of develop
2 parents 96b3764 + dd99406 commit 3a2b995

15 files changed

+113
-97
lines changed

.artenolis.yml

+17-10
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ before_install:
77
- CURRENT_DIR=`pwd`;
88

99
# remove the cloned repository even after failure
10-
- rm -rf ~/MATLAB.devTools.CI;
10+
- rm -rf $ARTENOLIS_DATA_PATH/repos/MATLAB.devTools.CI;
1111

1212
# change to the current directory
1313
- cd $CURRENT_DIR;
@@ -20,9 +20,9 @@ script:
2020
- cd $CURRENT_DIR;
2121

2222
# before launching the tests, make sure that the upstream repository is changed
23-
- cd;
24-
- rm -rf ~/MATLAB.devTools.CI;
25-
- git clone [email protected]:uni-lu/MATLAB.devTools.CI.git;
23+
- cd $ARTENOLIS_DATA_PATH/repos/;
24+
- rm -rf MATLAB.devTools.CI;
25+
- git clone [email protected]:LCSB-BioCore/MATLAB.devTools.CI.git;
2626
- cd MATLAB.devTools.CI;
2727
- git remote -v;
2828
- eval "$(ssh-agent -s)";
@@ -50,16 +50,23 @@ script:
5050
# launch the tests
5151
- sh ./.artenolis/runtests.sh;
5252

53-
- cd ~/fork-MATLAB.devTools.CI;
54-
- git reset --hard origin/develop;
55-
5653
after_success:
5754

58-
# remove the cloned fork-repo
59-
- if [ "$MATLAB_VER" == "R2016b" ]; then
55+
# submit coverage report
56+
- if [[ "$MATLAB_VER" == "R2018b" && "$ARCH" == "Linux" ]]; then
6057
bash <(curl -s https://codecov.io/bash) -f "!*.lst";
61-
export PATH="/home/sbg-jenkins/.local/bin":$PATH;
58+
fi
59+
60+
# deploy the documentation
61+
- if [[ "$MATLAB_VER" == "R2018b" && "$JENKINS_PULL_REQUEST" != "True" ]]; then
62+
export PATH="/home/jenkins/.local/bin":$PATH;
6263
cd $CURRENT_DIR;
6364
pip install --upgrade --user -r docs/requirements.txt;
6465
python -c "from documenter.deploy import Documentation; doc = Documentation('github.com/opencobra/MATLAB.devTools', ci='jenkins'); doc.deploy()";
6566
fi
67+
68+
after_script:
69+
70+
# reset the fork
71+
- cd $ARTENOLIS_DATA_PATH/repos/fork-MATLAB.devTools.CI;
72+
- git reset --hard origin/develop;

.artenolis/runtests.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/sh
22
cd ./test
3-
/mnt/prince-data/MATLAB/$MATLAB_VER/bin/./matlab -nodesktop -nosplash -r "launchTests;" < inputCI.txt;
3+
$ARTENOLIS_SOFT_PATH/MATLAB/$MATLAB_VER/bin/./matlab -nodesktop -nosplash -r "launchTests;" < inputCI.txt;
44
CODE=$?
55
exit $CODE

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,7 @@ Temporary Items
3636
[Dd]esktop.ini
3737

3838
# Documentation related files
39+
docs/.documenter.enc
40+
docs/.documenter
3941
docs/source/_static/json/functions.json
4042
*.pyc

.gitmodules

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[submodule "external/rdir"]
22
path = external/rdir
3-
url = https://github.com/uni-lu/rdir.git
3+
url = https://github.com/LCSB-BioCore/rdir.git

README.rst

+16-16
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
</h1>
1010

1111
+----------------+----------------+---------------+--------------+
12-
| MATLAB R2016b | MATLAB R2015b | Code Coverage | Code Grade |
12+
| MATLAB R2018b | MATLAB R2017b | Code Coverage | Code Grade |
1313
+================+================+===============+==============+
14-
| |Build Status| | |Build Status| | |codecov| | |Code grade| |
14+
| |bs2018| | |bs2017| | |codecov| | |Code grade| |
1515
+----------------+----------------+---------------+--------------+
1616

1717
.. begin-description-marker
@@ -207,19 +207,19 @@ paper of The COBRA Toolbox shall we cited when referring to the ``MATLAB.devTool
207207
A. Saunders, Costas D. Maranas, Nathan E. Lewis, Thomas Sauter,
208208
Bernhard Ø. Palsson, Ines Thiele, Ronan M.T. Fleming, **Creation and
209209
analysis of biochemical constraint-based models: the COBRA Toolbox
210-
v3.0** (submitted), 2017,
211-
`arXiv:1710.04038 <https://arxiv.org/abs/1710.04038>`__.
210+
v3.0**, Nature Protocols, volume 14, pages 639–702, 2019
211+
`doi.org/10.1038/s41596-018-0098-2 <https://doi.org/10.1038/s41596-018-0098-2>`__.
212212

213213
.. end-how-to-cite-marker
214214
215215
216-
.. |Build Status| image:: https://prince.lcsb.uni.lu/jenkins/buildStatus/icon?job=devTools-branches-auto/MATLAB_VER=R2016b
217-
:target: https://prince.lcsb.uni.lu/jenkins/job/devTools-branches-auto/MATLAB_VER=R2016b/
218-
.. |Build Status| image:: https://prince.lcsb.uni.lu/jenkins/buildStatus/icon?job=devTools-branches-auto/MATLAB_VER=R2015b
219-
:target: https://prince.lcsb.uni.lu/jenkins/job/devTools-branches-auto/MATLAB_VER=R2015b/
216+
.. |bs2018| image:: https://prince.lcsb.uni.lu/jenkins/job/devTools-branches-auto/MATLAB_VER=R2018b,label=prince-slave-linux-01/badge/icon
217+
:target: https://prince.lcsb.uni.lu/jenkins/job/devTools-branches-auto/MATLAB_VER=R2018b,label=prince-slave-linux-01
218+
.. |bs2017| image:: https://prince.lcsb.uni.lu/jenkins/job/devTools-branches-auto/MATLAB_VER=R2017b,label=prince-slave-linux-01/badge/icon
219+
:target: https://prince.lcsb.uni.lu/jenkins/job/devTools-branches-auto/MATLAB_VER=R2017b,label=prince-slave-linux-01
220220
.. |codecov| image:: https://codecov.io/gh/opencobra/MATLAB.devTools/branch/master/graph/badge.svg
221221
:target: https://codecov.io/gh/opencobra/MATLAB.devTools/branch/master
222-
.. |Code grade| image:: https://prince.lcsb.uni.lu/jenkins/userContent/codegrade-MATLABdevTools.svg?maxAge=0
222+
.. |Code grade| image:: https://prince.lcsb.uni.lu/MATLAB.devTools/codegrade/codegrade.svg?maxAge=0
223223

224224

225225
.. begin-screencast-marker
@@ -233,30 +233,30 @@ paper of The COBRA Toolbox shall we cited when referring to the ``MATLAB.devTool
233233
.. begin-icon-marker
234234
.. |macos| raw:: html
235235

236-
<img src="https://prince.lcsb.uni.lu/jenkins/userContent/apple.png" height="20px" width="20px" alt="macOS">
236+
<img src="https://prince.lcsb.uni.lu/MATLAB.devTools/img/apple.png" height="20px" width="20px" alt="macOS">
237237

238238
.. |linux| raw:: html
239239

240-
<img src="https://prince.lcsb.uni.lu/jenkins/userContent/linux.png" height="20px" width="20px" alt="linux">
240+
<img src="https://prince.lcsb.uni.lu/MATLAB.devTools/img/linux.png" height="20px" width="20px" alt="linux">
241241

242242
.. |windows| raw:: html
243243

244-
<img src="https://prince.lcsb.uni.lu/jenkins/userContent/windows.png" height="20px" width="20px" alt="windows">
244+
<img src="https://prince.lcsb.uni.lu/MATLAB.devTools/img/windows.png" height="20px" width="20px" alt="windows">
245245

246246
.. |matlab| raw:: html
247247

248-
<img src="https://prince.lcsb.uni.lu/jenkins/userContent/matlab.png" height="20px" width="20px" alt="matlab">
248+
<img src="https://prince.lcsb.uni.lu/MATLAB.devTools/img/matlab.png" height="20px" width="20px" alt="matlab">
249249

250250
.. |important| raw:: html
251251

252-
<img src="https://prince.lcsb.uni.lu/jenkins/userContent/warning.png" height="20px" width="20px" alt="bulb">
252+
<img src="https://prince.lcsb.uni.lu/MATLAB.devTools/img/warning.png" height="20px" width="20px" alt="bulb">
253253

254254
.. |warning| raw:: html
255255

256-
<img src="https://prince.lcsb.uni.lu/jenkins/userContent/warning.png" height="20px" width="20px" alt="warning">
256+
<img src="https://prince.lcsb.uni.lu/MATLAB.devTools/img/warning.png" height="20px" width="20px" alt="warning">
257257

258258
.. |bulb| raw:: html
259259

260-
<img src="https://prince.lcsb.uni.lu/jenkins/userContent/bulb.png" height="20px" width="20px" alt="bulb">
260+
<img src="https://prince.lcsb.uni.lu/MATLAB.devTools/img/bulb.png" height="20px" width="20px" alt="bulb">
261261

262262
.. end-icon-marker

docs/requirements.txt

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
git+https://github.com/uni-lu/sphinx.git@develop#egg=sphinx
1+
git+https://github.com/LCSB-BioCore/sphinx.git@develop#egg=sphinx
22
git+https://github.com/syarra/sphinxcontrib-matlabdomain#egg=sphinxcontrib-matlabdomain
33
sphinx_rtd_theme
4-
git+https://github.com/uni-lu/sphinx_julia_theme.git@develop#egg=sphinx_julia_theme
5-
git+https://github.com/syarra/Documenter.py@develop#egg=documenter
6-
git+https://github.com/uni-lu/sphinxcontrib-napoleon.git@develop#egg=sphinxcontrib_napoleon
4+
git+https://github.com/LCSB-BioCore/sphinx_julia_theme.git@develop#egg=sphinx_julia_theme
5+
git+https://github.com/syarra/Documenter.py@master#egg=documenter
6+
git+https://github.com/LCSB-BioCore/sphinxcontrib-napoleon.git@develop#egg=sphinxcontrib_napoleon

docs/source/cite.rst

+10-10
Original file line numberDiff line numberDiff line change
@@ -3,47 +3,47 @@ How to cite
33

44
.. include:: ../../README.rst
55
:start-after: begin-how-to-cite-marker
6-
:end-before: end-how-to-cite-marker
6+
:end-before: end-how-to-cite-marker
77

88

99
.. |macos| raw:: html
1010

11-
<img src="https://prince.lcsb.uni.lu/jenkins/userContent/apple.png" height="20px" width="20px" alt="macOS">
11+
<img src="https://prince.lcsb.uni.lu/MATLAB.devTools/img/apple.png" height="20px" width="20px" alt="macOS">
1212

1313

1414
.. |linux| raw:: html
1515

16-
<img src="https://prince.lcsb.uni.lu/jenkins/userContent/linux.png" height="20px" width="20px" alt="linux">
16+
<img src="https://prince.lcsb.uni.lu/MATLAB.devTools/img/linux.png" height="20px" width="20px" alt="linux">
1717

1818

1919
.. |windows| raw:: html
2020

21-
<img src="https://prince.lcsb.uni.lu/jenkins/userContent/apple.png" height="20px" width="20px" alt="windows">
21+
<img src="https://prince.lcsb.uni.lu/MATLAB.devTools/img/windows.png" height="20px" width="20px" alt="windows">
2222

2323

2424
.. |warning| raw:: html
2525

26-
<img src="https://prince.lcsb.uni.lu/jenkins/userContent/warning.png" height="20px" width="20px" alt="warning">
26+
<img src="https://prince.lcsb.uni.lu/MATLAB.devTools/img/warning.png" height="20px" width="20px" alt="warning">
2727

2828

2929
.. |matlab| raw:: html
3030

31-
<img src="https://prince.lcsb.uni.lu/jenkins/userContent/matlab.png" height="20px" width="20px" alt="matlab">
31+
<img src="https://prince.lcsb.uni.lu/MATLAB.devTools/img/matlab.png" height="20px" width="20px" alt="matlab">
3232

3333

3434
.. |tada| raw:: html
3535

36-
<img src="https://prince.lcsb.uni.lu/jenkins/userContent/tada.png" height="20px" width="20px" alt="tada">
36+
<img src="https://prince.lcsb.uni.lu/MATLAB.devTools/img/tada.png" height="20px" width="20px" alt="tada">
3737

3838

3939
.. |thumbsup| raw:: html
4040

41-
<img src="https://prince.lcsb.uni.lu/jenkins/userContent/thumbsUP.png" height="20px" width="20px" alt="thumbsup">
41+
<img src="https://prince.lcsb.uni.lu/MATLAB.devTools/img/thumbsUP.png" height="20px" width="20px" alt="thumbsup">
4242

4343

4444
.. |bulb| raw:: html
4545

46-
<img src="https://prince.lcsb.uni.lu/jenkins/userContent/bulb.png" height="20px" width="20px" alt="bulb">
46+
<img src="https://prince.lcsb.uni.lu/MATLAB.devTools/img/bulb.png" height="20px" width="20px" alt="bulb">
4747

4848

4949
.. |tutorials| raw:: html
@@ -54,7 +54,7 @@ How to cite
5454
.. |latest| raw:: html
5555

5656
<a href="https://opencobra.github.io/cobratoolbox/latest"><img src="https://img.shields.io/badge/COBRA-docs-blue.svg?maxAge=0"></a>
57-
57+
5858

5959
.. |forum| raw:: html
6060

docs/source/contr_cobratoolbox.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ directory `fork-cobratoolbox`. You can do so by typing:
204204
If there are changes listed, publish them by selecting procedure ``[3]`` of the
205205
contribute menu.
206206

207-
.. |branchModel| image:: https://prince.lcsb.uni.lu/img/figure6.png
207+
.. |branchModel| image:: https://prince.lcsb.uni.lu/MATLAB.devTools/img/figure6.png
208208

209209
.. include:: ../../README.rst
210210
:start-after: begin-icon-marker

docs/source/funding.rst

+5-5
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ Funding
1919
<table width="100%" class="noBorder">
2020
<tr class="noBorder">
2121
<td class="noBorderImg" width="30%">
22-
<div style="align-center;"><a href="http://www.ncer-pd.lu/index.php/en/"><img src="https://prince.lcsb.uni.lu/img/logos/ncer.png" alt="" width="80%"></a></div>
22+
<div style="align-center;"><a href="http://www.ncer-pd.lu/index.php/en/"><img src="https://prince.lcsb.uni.lu/MATLAB.devTools/img/ncer.png" alt="" width="80%"></a></div>
2323
</td>
2424
<td class="noBorderImg" width="30%">
25-
<div style="align-center;"><a href="http://www.ncer-pd.lu/index.php/en/"><img src="https://prince.lcsb.uni.lu/img/logos/fnr.png" alt="" width="80%"></a></div>
25+
<div style="align-center;"><a href="http://www.ncer-pd.lu/index.php/en/"><img src="https://prince.lcsb.uni.lu/MATLAB.devTools/img/fnr.png" alt="" width="80%"></a></div>
2626
</td>
2727
<td class="noBorder" width="40%">
2828
National Centre of Excellence in Research (NCER) on Parkinson’s disease.
@@ -33,7 +33,7 @@ Funding
3333
<table width="100%" class="noBorder">
3434
<tr class="noBorder">
3535
<td class="noBorderImg" width="60%">
36-
<div style="align-center;"><a href="https://energy.gov"><img src="https://prince.lcsb.uni.lu/img/logos/doe.png" alt="" width="80%"></a></div>
36+
<div style="align-center;"><a href="https://energy.gov"><img src="https://prince.lcsb.uni.lu/MATLAB.devTools/img/doe.png" alt="" width="80%"></a></div>
3737
</td>
3838
<td class="noBorder" width="40%">
3939
U.S. Department of Energy, Offices of Advanced Scientific Computing Research and the Biological and Environmental Research as part of the Scientific Discovery Through Advanced Computing program, grant no. DE-SC0010429
@@ -49,10 +49,10 @@ Funding
4949
<br><br>
5050
<ul class="featureslogo">
5151
<li>
52-
<div style="align-center;"><a href="http://wwwen.uni.lu/lcsb/"><img src="https://prince.lcsb.uni.lu/img/logos/largelcsb.png" alt="" width="100%"></a></div>
52+
<div style="align-center;"><a href="http://wwwen.uni.lu/lcsb/"><img src="https://prince.lcsb.uni.lu/MATLAB.devTools/img/largelcsb.png" alt="" width="100%"></a></div>
5353
</li>
5454
<li>
55-
<div style="align-center;"><a href="http://www.uni.lu"><img src="https://prince.lcsb.uni.lu/img/logos/largeul.png" alt="" width="100%"></a></div>
55+
<div style="align-center;"><a href="http://www.uni.lu"><img src="https://prince.lcsb.uni.lu/MATLAB.devTools/img/largeul.png" alt="" width="100%"></a></div>
5656
</li>
5757
</ul>
5858
</p>

docs/source/index.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ MATLAB.devTools - Contribute the smart way
1818
</style>
1919

2020
<div class="alert alert-info" align="center">
21-
View MATLAB.devTools <strong>source code</strong> on <a href="https://github.com/opencobra/MATLAB.devTools/"><img src="https://prince.lcsb.uni.lu/img/logos/github.png" style="height: 40px !important;"></a>.
21+
View MATLAB.devTools <strong>source code</strong> on <a href="https://github.com/opencobra/MATLAB.devTools/"><img src="https://prince.lcsb.uni.lu/MATLAB.devTools/img/github.png" style="height: 40px !important;"></a>.
2222
</div>
2323

2424
.. include:: ../../README.rst

docs/source/prerequisites.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -122,10 +122,10 @@ shell). On **Windows**, start ``GUI Bash``. Then type
122122
Please replace ``"yourGitHubUsername"`` and ``"[email protected]"``
123123
with your respective credentials.
124124

125-
.. |windows0| image:: https://prince.lcsb.uni.lu/img/installation_git_windows_0.png
125+
.. |windows0| image:: https://prince.lcsb.uni.lu/MATLAB.devTools/img/installation_git_windows_0.png
126126
:width: 280px
127127

128-
.. |windows1| image:: https://prince.lcsb.uni.lu/img/installation_git_windows_1.png
128+
.. |windows1| image:: https://prince.lcsb.uni.lu/MATLAB.devTools/img/installation_git_windows_1.png
129129
:width: 280px
130130

131131
.. include:: ../../README.rst

docs/source/troubleshooting/cobratutorials.rst

+5-5
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ COBRA.tutorials
33

44
.. |warning| raw:: html
55

6-
<img src="https://prince.lcsb.uni.lu/jenkins/userContent/warning.png" height="20px" width="20px" alt="warning">
6+
<img src="https://prince.lcsb.uni.lu/MATLAB.devTools/img/warning.png" height="20px" width="20px" alt="warning">
77

88
|warning| This section is tailored to users who feel comfortable using
99
the terminal (or shell). It is recommended for other users
@@ -18,25 +18,25 @@ Fork and checkout your branch
1818
1. Fork the `COBRA.tutorials repository <https://www.github.com/opencobra/COBRA.tutorials>`__ on Github.
1919

2020
2. Clone the forked repository to ``fork-COBRA.tutorials`` located in a directory of your choice:
21-
21+
2222
.. code-block:: console
2323
2424
$ git clone [email protected]:<userName>/COBRA.tutorials.git fork-COBRA.tutorials.git
2525
2626
3. Change to the directory ``fork-COBRA.tutorials``:
27-
27+
2828
.. code-block:: console
2929
3030
$ cd fork-COBRA.tutorials.git/
3131
3232
4. Set the upstream to the ``opencobra/COBRA.tutorials`` repository:
33-
33+
3434
.. code-block:: console
3535
3636
$ git remote add upstream [email protected]:opencobra/COBRA.tutorials.git
3737
3838
5. Fetch from the upstream repository
39-
39+
4040
.. code-block:: console
4141
4242
$ git fetch upstream

test/inputCI.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
cobrabot
2-
/home/sbg-jenkins/
1+
artenobot
2+
/mnt/artenolis-data/repos/
33
y
44
n
55
testFile1

0 commit comments

Comments
 (0)