Skip to content
Snippets Groups Projects
Commit 19dd0cff authored by Peter Schubert's avatar Peter Schubert
Browse files

protein syntheses reaction allow sboterm 589 and 205 for now.

parent 341b1550
Branches
No related tags found
No related merge requests found
......@@ -65,7 +65,7 @@ class XbaReaction:
# to species being consumed add the enzyme product with corresponding stoichiometry
# to species being produced add the enzyme product with corresponding stoichiometry, unless
# the species is itself the enzyme product, in which case we add the ps reaction producing it.
if self.sboterm == 'SBO:0000589':
if (self.sboterm == 'SBO:0000589') or (self.sboterm == 'SBO:0000205') :
enz_sid = ''
for sid in self.products:
if (species[sid].sboterm == 'SBO:0000252') or (species[sid].sboterm == 'SBO:0000250'):
......
......@@ -41,7 +41,8 @@ class GbaProblem:
if ((r.sboterm == 'SBO:0000167') or
(r.sboterm == 'SBO:0000179') or
(r.sboterm == 'SBO:0000182'))]
self.ps_rids = [r.id for r in xba_model.reactions.values() if r.sboterm == 'SBO:0000589']
self.ps_rids = [r.id for r in xba_model.reactions.values()
if (r.sboterm == 'SBO:0000589') or (r.sboterm == 'SBO:0000205')]
spont_rids = [rid for rid in self.mr_rids if xba_model.reactions[rid].enzyme == '']
# calculate stoichiometric for mass balance equality constraints
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment