Mercurial > repos > bimib > cobraxy
changeset 507:20e135a73cad draft
Uploaded
author | francesco_lapi |
---|---|
date | Wed, 01 Oct 2025 13:51:50 +0000 |
parents | ffc234ec80db |
children | ca98c149ec61 |
files | COBRAxy/ras_to_bounds.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/COBRAxy/ras_to_bounds.py Wed Oct 01 13:19:03 2025 +0000 +++ b/COBRAxy/ras_to_bounds.py Wed Oct 01 13:51:50 2025 +0000 @@ -180,8 +180,8 @@ compartments = modelUtils.generate_compartments(model) - df_rules = pd.DataFrame(list(rules.items()), columns = ["ReactionID", "Rule"]) - df_reactions = pd.DataFrame(list(reactions.items()), columns = ["ReactionID", "Reaction"]) + df_rules = pd.DataFrame(list(rules.items()), columns = ["ReactionID", "GPR"]) + df_reactions = pd.DataFrame(list(reactions.items()), columns = ["ReactionID", "Formula"]) df_bounds = bounds.reset_index().rename(columns = {"index": "ReactionID"}) df_medium = medium.rename(columns = {"reaction": "ReactionID"}) df_medium["InMedium"] = True