2024-06-05 13:40:40 +02:00
|
|
|
#!/bin/bash
|
2024-06-05 15:57:29 +02:00
|
|
|
# Automatically run the different analysis scripts
|
2024-06-05 13:40:40 +02:00
|
|
|
|
|
|
|
exit_echo () {
|
|
|
|
echo $@;
|
|
|
|
exit 1;
|
|
|
|
}
|
|
|
|
|
2024-06-05 15:57:29 +02:00
|
|
|
NAME="${1%%.*}"
|
|
|
|
|
2024-06-05 13:40:40 +02:00
|
|
|
[[ $1 ]] || exit_echo "Usage: $0 <file>";
|
2024-06-05 15:57:29 +02:00
|
|
|
[[ -f $NAME.slices.csv ]] || exit_echo "$NAME.slices.csv not found"
|
|
|
|
[[ -f $NAME.cores.csv ]] || exit_echo "$NAME.cores.csv not found"
|
2024-06-05 13:40:40 +02:00
|
|
|
|
|
|
|
bash 2T/analyse.sh $1
|
|
|
|
|
|
|
|
. venv/bin/activate
|
2024-06-05 15:57:29 +02:00
|
|
|
python analyse_csv.py $NAME
|
|
|
|
python analyse_medians.py $NAME
|