# HG changeset patch # User luca_milaz # Date 1722684060 0 # Node ID 0ec43a4b4a8fcf99843be5ac9231c99d50c0d529 # Parent 14ac8f47c9e0b8fa67124b94bafc8d47ffde8d56 Uploaded diff -r 14ac8f47c9e0 -r 0ec43a4b4a8f marea_2/flux_simulation.py --- a/marea_2/flux_simulation.py Sat Aug 03 11:11:16 2024 +0000 +++ b/marea_2/flux_simulation.py Sat Aug 03 11:21:00 2024 +0000 @@ -108,7 +108,7 @@ def write_to_file(dataset: pd.DataFrame, name: str, keep_index:bool=False)->None: - dataset.T.to_csv(ARGS.output_folder + name + ".csv", sep = '\t', index = keep_index) + dataset.to_csv(ARGS.output_folder + name + ".csv", sep = '\t', index = keep_index) ############################ dataset input #################################### def read_dataset(data :str, name :str) -> pd.DataFrame: