# HG changeset patch # User luca_milaz # Date 1722686855 0 # Node ID eecce174709cc890b1296c13e06f7d65bf9137cf # Parent 1c87924547651dfaf8e1399e21635b7330740fca Uploaded diff -r 1c8792454765 -r eecce174709c marea_2/flux_simulation.py --- 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