changeset 233:eecce174709c draft

Uploaded
author luca_milaz
date Sat, 03 Aug 2024 12:07:35 +0000
parents 1c8792454765
children 1e5cb43eb739
files marea_2/flux_simulation.py
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/marea_2/flux_simulation.py	Sat Aug 03 12:02:31 2024 +0000
+++ b/marea_2/flux_simulation.py	Sat Aug 03 12:07:35 2024 +0000
@@ -343,33 +343,33 @@
     if("mean" in ARGS.output_types):
         all_mean = all_mean.fillna(0.0)
         all_mean = all_mean.sort_index()
-        write_to_file(all_mean.T, "mean", False)
+        write_to_file(all_mean.T, "mean", True)
 
     if("median" in ARGS.output_types):
         all_median = all_median.fillna(0.0)
         all_median = all_median.sort_index()
-        write_to_file(all_median.T, "median", False)
+        write_to_file(all_median.T, "median", True)
     
     if("quantiles" in ARGS.output_types):
         all_quantiles = all_quantiles.fillna(0.0)
         all_quantiles = all_quantiles.sort_index()
-        write_to_file(all_quantiles.T, "quantiles", False)
+        write_to_file(all_quantiles.T, "quantiles", True)
 
     index_result = 3
     if("pFBA" in ARGS.output_type_analysis):
         all_pFBA = pd.concat([result[index_result] for result in results], ignore_index=False)
         all_pFBA = all_pFBA.sort_index()
-        write_to_file(all_pFBA, "pFBA", False)
+        write_to_file(all_pFBA.T, "pFBA", True)
         index_result+=1
     if("FVA" in ARGS.output_type_analysis):
         all_FVA= pd.concat([result[index_result] for result in results], ignore_index=False)
         all_FVA = all_FVA.sort_index()
-        write_to_file(all_FVA, "FVA", False)
+        write_to_file(all_FVA.T, "FVA", True)
         index_result+=1
     if("sensitivity" in ARGS.output_type_analysis):
         all_sensitivity = pd.concat([result[index_result] for result in results], ignore_index=False)
         all_sensitivity = all_sensitivity.sort_index()
-        write_to_file(all_sensitivity, "sensitivity", False)
+        write_to_file(all_sensitivity.T, "sensitivity", True)
 
     pass