study-docker-repro-longevity/analysis/analysis_wrapper.sh

18 lines
274 B
Bash
Executable File

#!/bin/bash
ANALYSIS_TYPE=$1
OUTPUT=$2
shift; shift
ARGS=$@
INPUT=("${ARGS[@]/#/-i }")
SCRIPT=""
OPT=""
case ANALYSIS_TYPE in
"softenv")
SCRIPT="softenv_analysis.py"
OPT="-t sources-stats"
;;
python3 softenv_analysis.py -t sources-stats $INPUT -o