changeset 448:f8b1761eee37 draft default tip

Uploaded
author francesco_lapi
date Thu, 11 Sep 2025 10:30:49 +0000
parents be26d1c603a0
children
files COBRAxy/utils/model_utils.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/COBRAxy/utils/model_utils.py	Thu Sep 11 09:44:54 2025 +0000
+++ b/COBRAxy/utils/model_utils.py	Thu Sep 11 10:30:49 2025 +0000
@@ -184,7 +184,7 @@
     
     # Prima passata: estrai metaboliti e compartimenti dalle formule delle reazioni
     for idx, row in df.iterrows():
-        reaction_formula = str(row['Reaction']).strip()
+        reaction_formula = str(row['Formula']).strip()
         if not reaction_formula or reaction_formula == 'nan':
             continue