Skip to content
Snippets Groups Projects
Commit 8ab80a43 authored by Karl-Hermann Wieners's avatar Karl-Hermann Wieners
Browse files

importexp: new options for environment and experiment type

parent 63425265
No related branches found
No related tags found
No related merge requests found
......@@ -4,13 +4,15 @@ BINDIR=$(dirname $0)
BUILD_SUBDIR=build
while getopts b:d:D:s: OPTOPT
while getopts b:d:D:e:s:t: OPTOPT
do
case $OPTOPT in
b) BUILD_SUBDIR=$OPTARG ;;
d) DATA_BASE_DIR=$OPTARG ;;
D) DATA_DIR=$OPTARG ;;
e) ENVIRONMENT=$OPTARG ;;
s) CUSTOM_SUBDIR=$OPTARG ;;
t) EXP_TYPE=$OPTARG ;;
*) exit 1;;
esac
done
......@@ -83,8 +85,8 @@ do
cat << EOF
###\\
EXP_TYPE = DEFAULT
ENVIRONMENT = mistral
EXP_TYPE = ${EXP_TYPE:-DEFAULT}
ENVIRONMENT = ${ENVIRONMENT:-levante}
DATA_DIR = ${DATA_DIR-${DATA_BASE_DIR-$MODEL_BASE_DIR}/experiments/\$EXP_ID}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment