Skip to content

Commit

Permalink
fix: prevent duplications in protein pseudometabolites
Browse files Browse the repository at this point in the history
  • Loading branch information
edkerk committed Nov 30, 2023
1 parent 3e62a44 commit f33c909
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/geckomat/change_model/makeEcModel.m
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@

%9: Add proteins as pseudometabolites
if ~geckoLight
[proteinMets.mets, uniprotSortId] = sort(ec.enzymes);
[proteinMets.mets, uniprotSortId] = unique(ec.enzymes);
proteinMets.mets = strcat('prot_',proteinMets.mets);
proteinMets.metNames = proteinMets.mets;
proteinMets.compartments = compartmentID;
Expand Down

0 comments on commit f33c909

Please sign in to comment.