Mercurial > repos > bimib > marea_2
changeset 230:c27fe0032287 draft
Uploaded
author | luca_milaz |
---|---|
date | Sat, 03 Aug 2024 11:43:47 +0000 |
parents | ceac7534bf21 |
children | 8e66f173ad60 |
files | marea_2/flux_simulation.py |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/marea_2/flux_simulation.py Sat Aug 03 11:25:23 2024 +0000 +++ b/marea_2/flux_simulation.py Sat Aug 03 11:43:47 2024 +0000 @@ -231,6 +231,8 @@ df_quantiles= pd.DataFrame() df_samples = pd.read_csv(ARGS.output_folder + model_name + '.csv', sep = '\t') + df_samples = df_samples.round(8) + for output_type in output_types: if(output_type == "mean"): df_mean = df_samples.mean() @@ -263,7 +265,7 @@ def fluxes_analysis(model:cobra.Model, model_name:str, output_types:List)-> List[pd.DataFrame]: df_pFBA = pd.DataFrame() - + df_FVA= pd.DataFrame() df_sensitivity= pd.DataFrame() for output_type in output_types: