Hi
In line 172 excahnge reactions are selected by looking for the "EX_" tag, this might lead to incorrect exchange selections if one does not use the EX_ prefix for exchange reactions.
exchange_reactions = new_cobra_model.reactions.query("EX_")
instead shouldn't we able to select exchange reactions using the following block ?
exchange_reactions = cobra.core.DictList()
for reaction in model.reactions:
if (len(reaction.products)==0 or len(reaction.reactants)==0):
exchange_reactions.append(reaction)
since cobra doesnt represent metabolites whose boundaryCondition attribute is set to true
Hi
In line 172 excahnge reactions are selected by looking for the "EX_" tag, this might lead to incorrect exchange selections if one does not use the EX_ prefix for exchange reactions.
exchange_reactions = new_cobra_model.reactions.query("EX_")instead shouldn't we able to select exchange reactions using the following block ?
since cobra doesnt represent metabolites whose boundaryCondition attribute is set to true