Mercurial > repos > bimib > marea_2
changeset 82:c7ef1436574e draft
Uploaded
author | luca_milaz |
---|---|
date | Fri, 19 Jul 2024 19:56:11 +0000 |
parents | 5229ce78799d |
children | 9074200334ca |
files | marea_2/custom_data_generator.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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]]: