# HG changeset patch # User luca_milaz # Date 1722675254 0 # Node ID 1bc73b13125725989eb40bdf18d9f89946386786 # Parent 5a2c9ec9525bf73d83ac977a6fc4b5303f411810 Uploaded diff -r 5a2c9ec9525b -r 1bc73b131257 marea_2/flux_simulation.py --- a/marea_2/flux_simulation.py Sat Aug 03 08:52:25 2024 +0000 +++ b/marea_2/flux_simulation.py Sat Aug 03 08:54:14 2024 +0000 @@ -108,7 +108,7 @@ def write_to_file(dataset: pd.DataFrame, name: str, keep_index:bool=False)->None: - dataset.to_csv(ARGS.output_folder + name + ".csv", sep = '\t', index = keep_index) + dataset.T.to_csv(ARGS.output_folder + name + ".csv", sep = '\t', index = keep_index) ############################ dataset input #################################### def read_dataset(data :str, name :str) -> pd.DataFrame: