[21363a]: / lvl2 / genAll.sh

Download this file

18 lines (17 with data), 384 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
#!/usr/bin/env sh
array=( val test )
for i in "${array[@]}"
do
for filename in models/*.yml; do
echo "$filename"
if [[ "$filename" == *"bags_model"* ]]
then
python genEns_BagsModels.py $filename $i
elif [[ "$filename" == *"bags"* ]]
then
python genEns_BagsSubjects.py $filename $i
else
python genEns.py $filename $i
fi
done
done