forked from mihaelasmilova/duck
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtest.sh
76 lines (52 loc) · 1.25 KB
/
test.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
65
66
67
68
69
70
71
72
73
74
75
conda activate openduck
basedir=$(pwd)
testdir=$basedir/test
echo """OpenDUck testing
"""
## Protein Chunking
echo """Testing chunking
"""
cd ${testdir}/do_chunk
for i in {1..2}; do
cd test${i}
echo "TEST ${i}"
echo "openduck chunk -y test${i}.yaml"
openduck chunk -y test${i}.yaml
cd ..
## AMBER prearation
echo """Testing amber-prepare
"""
cd ${testdir}/amber
for i in {1..3}; do
cd test${i}
echo "TEST ${i}"
echo "openduck amber-prepare -y test${i}.yaml"
openduck amber-prepare -y test${i}.yaml
cd ..
## OPENMM
cd ${testdir}/openmm-prepare
echo """Testing openmm-prepare
"""
cd test1
echo "openduck openmm-prepare -y test1.yaml"
openduck openmm-prepare -y test1.yaml
echo """Testing openmm-full-protocol
"""
cd ${testdir}/openmm-full-protocol
for i in {1..2}; do
cd test${i}
echo "TEST ${i}"
echo "openduck openmm-full-protocol -y test${i}.yaml"
openduck openmm-full-protocol -y test${i}.yaml
cd ..
echo """Testing openmm-from-amber
"""
cd ${testdir}/openmm-from-amber
cd test1
echo "openduck openmm-from-amber -y test$1.yaml"
openduck openmm-from-amber -y test$1.yaml
echo """Testing report
"""
cd ${testdir}
openduck report -f openmm -p 'openmm-from-amber/test1' --plot
openduck report -f openmm -p 'openmm-full-protocol/test1' -d single