Skip to content

Commit

Permalink
fix: saveYeastModel recognize last update date
Browse files Browse the repository at this point in the history
- run model=rmfield(model,'subSystems') before running saveYeastModel, until subSystems are added (see #11)
  • Loading branch information
edkerk committed Jun 15, 2021
1 parent 7e9d001 commit c0113a1
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 1,462 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ This repository contains the current consensus genome-scale metabolic model of _
|:-------:|:--------------:|:---------:|:----------:|:-----:|
|_Saccharomyces cerevisiae_|[Yeast 7.6](https://sourceforge.net/projects/yeast/)|4058|2742|1150|

**Last update:** 2021-04-07
**Last update:** 2021-06-15

## Installation

Expand Down
4 changes: 2 additions & 2 deletions code/saveYeastModel.m
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ function saveYeastModel(model,upDATE,allowNoGrowth)
if ~ischar(inline)
still_reading = false;
else
if startsWith(inline,'* Last update: ') && upDATE
inline = ['* Last update: ' datestr(datetime,'yyyy-mm-dd') newline];
if startsWith(inline,'**Last update:** ') && upDATE
inline = ['**Last update:** ' datestr(datetime,'yyyy-mm-dd') newline];
elseif startsWith(inline,'|_Saccharomyces cerevisiae_|')
inline = ['|_Saccharomyces cerevisiae_|[Yeast 7.6]' ...
'(https://sourceforge.net/projects/yeast/)|' ...
Expand Down
6 changes: 3 additions & 3 deletions model/dependencies.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
MATLAB 9.9.0.1524771 (R2020b) Update 2
MATLAB 9.10.0.1602886 (R2021a)
libSBML 5.17.0
RAVEN_toolbox commit 5061381
COBRA_toolbox commit 800dcfe
RAVEN_toolbox commit 3b821c2
COBRA_toolbox commit 25dbea4
SBML_level 3
SBML_version 1
fbc_version 2
3 changes: 0 additions & 3 deletions model/yeastGEM.xml
Original file line number Diff line number Diff line change
Expand Up @@ -218932,8 +218932,5 @@
<fbc:geneProduct metaid="G_YPL095C" sboTerm="SBO:0000243" fbc:id="G_YPL095C" fbc:name="EEB1" fbc:label="EEB1"/>
<fbc:geneProduct metaid="G_YGR015C" sboTerm="SBO:0000243" fbc:id="G_YGR015C" fbc:name="EAT1" fbc:label="EAT1"/>
</fbc:listOfGeneProducts>
<groups:listOfGroups>
<groups:group sboTerm="SBO:0000633" groups:id="group1" groups:kind="partonomy"/>
</groups:listOfGroups>
</model>
</sbml>
Loading

0 comments on commit c0113a1

Please sign in to comment.