-
Notifications
You must be signed in to change notification settings - Fork 0
/
hkvc-run.sh
executable file
·65 lines (39 loc) · 1.32 KB
/
hkvc-run.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#!/bin/bash
# Helper script for managing related stuff
# v20200520IST1644, HanishKVC
function dev_setup_git_submodules() {
#ln -s ../../../../../../Libs/python/xmlparser/xmlparser.py xmlparser.py
git submodule add https://github.com/hanishkvc/libs-python-xmlparser.git libs/xmlparser
git submodule add https://github.com/hanishkvc/prgs-libreoffice-pyuno_toolkit.git libs/hkvc_pyuno_toolkit
}
function get_git_submodules() {
git submodule update --init --recursive
}
function update_git_submodules() {
git submodule update --remote
}
function cleanup() {
rm -rf __pycache__
rm -rf libs/xmlparser/__pycache__
}
function test_run_10() {
rm -f /tmp/*png /tmp/*jpg
#./hkvc-covid19-analtoolkit.py --sel EUWorld IN IE UK AE CA US RU BR --sel Cov19In KL KA DL MH MP BR
./hkvc-covid19-analtoolkit.py --no_scalediff
convert /tmp/*png /tmp/1.jpg
./hkvc-covid19-analtoolkit.py
convert /tmp/*png /tmp/2.jpg
}
function test_run_11() {
./hkvc-covid19-analtoolkit.py --test_mixmatch
}
function test_run() {
sDate=`date +%Y%m%d`
./hkvc-covid19-analtoolkit.py
./hkvc-covid19-analtoolkit.py --plotsel_partial
./hkvc-covid19-analtoolkit.py --cov19in data/Cov19In-$sDate-confirmed.csv --euworld data/EUWorld-$sDate.csv --sel EUWorld IN IE UK AE CA US RU BR --sel Cov19In KL KA DL MH GJ MP BR
}
function _ctags() {
ctags *py
}
$@