Skip to content

Commit

Permalink
Merge pull request #10 from SysBioChalmers/fix/yeastGEMcompliance
Browse files Browse the repository at this point in the history
fix: rxnConfidenceScores
  • Loading branch information
BenjaSanchez authored Sep 3, 2018
2 parents 12cd253 + c84a015 commit 47d6459
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions models/addSLIMErxn.m
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@

try
printRxnFormula(model,rxnID,true,true,true);
model.rxnConfidenceScores(strcmp(model.rxns,rxnID)) = 1;
catch
disp(['Repeated: ' rxnName])
end
Expand Down
3 changes: 2 additions & 1 deletion models/changeChainComp.m
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% model = changeChainComp(model,chainData)
%
% Benjamín J. Sánchez. Last update: 2018-03-24
% Benjamín J. Sánchez. Last update: 2018-05-20
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

function model = changeChainComp(model,chainData)
Expand Down Expand Up @@ -31,6 +31,7 @@
'upperBound', 1000);

printRxnFormula(model,rxnID,true,true,true);
model.rxnConfidenceScores(strcmp(model.rxns,rxnID)) = 1;

end

Expand Down
3 changes: 2 additions & 1 deletion models/changeLipidComp.m
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% model = changeLipidComp(model,lipidData)
%
% Benjamín J. Sánchez. Last update: 2018-03-24
% Benjamín J. Sánchez. Last update: 2018-05-20
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

function model = changeLipidComp(model,lipidData)
Expand Down Expand Up @@ -29,6 +29,7 @@
'lowerBound', 0, ...
'upperBound', 1000);
printRxnFormula(model,rxnID,true,true,true);
model.rxnConfidenceScores(strcmp(model.rxns,rxnID)) = 1;

end

Expand Down

0 comments on commit 47d6459

Please sign in to comment.