forked from smogon/usage-stats
-
Notifications
You must be signed in to change notification settings - Fork 0
/
MonotypeAnalysis.sh
39 lines (27 loc) · 1.35 KB
/
MonotypeAnalysis.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#!/usr/bin/env bash
function process {
tier=gen9monotype
tag=$1
echo "Processing "$tag >> log.log
python StatCounter.py $tier 1630 $tag &&
python batchMovesetCounter.py $tier 1630 $tag > Stats/moveset/$tier-$tag-1630.txt
# python MegaCounter.py Stats/chaos/$tier-$tag-1630.json > Stats/mega/$tier-$tag-1630.txt
python StatCounter.py $tier 1760 $tag &&
python batchMovesetCounter.py $tier 1760 $tag > Stats/moveset/$tier-$tag-1760.txt
# python MegaCounter.py Stats/chaos/$tier-$tag-1760.json > Stats/mega/$tier-$tag-1760.txt
python StatCounter.py $tier 0 $tag &&
python batchMovesetCounter.py $tier 0 $tag > Stats/moveset/$tier-$tag-0.txt
# python MegaCounter.py Stats/chaos/$tier-$tag-0.json > Stats/mega/$tier-$tag-0.txt
python StatCounter.py $tier 1500 $tag &&
python batchMovesetCounter.py $tier 1500 $tag > Stats/moveset/$tier-$tag-1500.txt
# python MegaCounter.py Stats/chaos/$tier-$tag-1500.json > Stats/mega/$tier-$tag-1500.txt
}
export -f process
parallel -j 5 process ::: mononormal monofighting monoflying monopoison monoground monorock monobug monoghost monosteel monofire monowater monograss monoelectric monopsychic monoice monodragon monodark monofairy
mkdir Stats/monotype
mv Stats/gen9monotype-mono* Stats/monotype/.
for d in chaos leads metagame moveset
do
mkdir Stats/monotype/$d
mv Stats/$d/gen9monotype-mono* Stats/monotype/$d/.
done