diff --git a/scripts/reorganize_csv_with_repeated_headers.sh b/scripts/reorganize_csv_with_repeated_headers.sh index 2a7ea9afb..6f09932c4 100644 --- a/scripts/reorganize_csv_with_repeated_headers.sh +++ b/scripts/reorganize_csv_with_repeated_headers.sh @@ -4,7 +4,7 @@ input_file=$1 # Define the output CSV file -output_file="merged_data.csv" +output_file="{$1}_header_cleaned.csv" # Check if the input file exists if [ ! -f "$input_file" ]; then diff --git a/scripts/sh_benchmark_agg.sh b/scripts/sh_benchmark_agg.sh index 63670de5b..acc29a758 100644 --- a/scripts/sh_benchmark_agg.sh +++ b/scripts/sh_benchmark_agg.sh @@ -1,4 +1,4 @@ -cat $1/rule_results/*.csv > temp_results.csv -sh reorganize_csv_with_repeated_headers.sh merged_data.csv +cat $1/rule_results/*.csv > temp_result.csv +sh reorganize_csv_with_repeated_headers.sh temp_result_header_cleaned.csv mkdir -p temp_agg python main_out.py --gen_plots merged_data.csv --outp_dir ./temp_agg