# HG changeset patch # User luca_milaz # Date 1721418971 0 # Node ID c7ef1436574e4d8d188cce3fdd92fd81da787b34 # Parent 5229ce78799d2a107a358d31043a1e97b8c5a0a2 Uploaded diff -r 5229ce78799d -r c7ef1436574e marea_2/custom_data_generator.py --- a/marea_2/custom_data_generator.py Fri Jul 19 19:54:29 2024 +0000 +++ b/marea_2/custom_data_generator.py Fri Jul 19 19:56:11 2024 +0000 @@ -129,8 +129,8 @@ if (positiveCoeff==0 and r.lower_bound<0): trueMedium.append(r) - df_medium = pd.DataFrame(columns="Reaction") - df_medium["Reaction"] = trueMedium + df_medium = pd.DataFrame() + df_medium["reaction"] = trueMedium return df_medium def generate_bounds(model:cobra.Model) -> Dict[ReactionId, Tuple[float, float]]: