Skip to content

Commit

Permalink
Merge pull request #7 from SysBioChalmers/fix/masterScript
Browse files Browse the repository at this point in the history
Fix: annotate model after .mat and .yml export, but before .xml export
  • Loading branch information
JonathanRob authored Oct 10, 2022
2 parents 7c92b73 + e76f4ac commit 46e5558
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/masterScriptWormGEM.m
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@
exportTsvFile(metAssoc,'../model/metabolites.tsv');
end

wormGEM = annotateGEM(wormGEM,'../model',{'rxn','met'}); % add annotation data to structure
wormGEM.id = regexprep(wormGEM.id,'-',''); % remove dash from model ID since it causes problems with SBML I/O
save('../model/Worm-GEM.mat', 'wormGEM');
exportYaml(wormGEM, '../model/Worm-GEM.yml');
wormGEM = annotateGEM(wormGEM,'../model',{'rxn','met'}); % add annotation data to structure
wormGEM.id = regexprep(wormGEM.id,'-',''); % remove dash from model ID since it causes problems with SBML I/O
exportModel(wormGEM, '../model/Worm-GEM.xml');

0 comments on commit 46e5558

Please sign in to comment.