# HG changeset patch # User luca_milaz # Date 1722685427 0 # Node ID c27fe0032287f13fcb27cf32d608d2d2d98ae658 # Parent ceac7534bf210d09ef60ea7f6fd3066f568f2206 Uploaded diff -r ceac7534bf21 -r c27fe0032287 marea_2/flux_simulation.py --- 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: