annotate test/test.sh @ 20:ce94e7a141bb draft default tip

" master branch Updating"
author lain
date Tue, 06 Dec 2022 10:18:10 +0000
parents 2937e72e5891
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a174cbbb12dd " master branch Updating"
lain
parents:
diff changeset
1 #!/bin/sh
a174cbbb12dd " master branch Updating"
lain
parents:
diff changeset
2
a174cbbb12dd " master branch Updating"
lain
parents:
diff changeset
3 currdir=`pwd`
a174cbbb12dd " master branch Updating"
lain
parents:
diff changeset
4 cd `dirname $(readlink -f $0)`
a174cbbb12dd " master branch Updating"
lain
parents:
diff changeset
5
a174cbbb12dd " master branch Updating"
lain
parents:
diff changeset
6 ln -s ../data/ ./data
a174cbbb12dd " master branch Updating"
lain
parents:
diff changeset
7
19
2937e72e5891 " master branch Updating"
lain
parents: 11
diff changeset
8 # alias Rscript=~/R-versions/R-4.1.2/bin/Rscript
2937e72e5891 " master branch Updating"
lain
parents: 11
diff changeset
9
2937e72e5891 " master branch Updating"
lain
parents: 11
diff changeset
10 Rscript $(realpath ../XSeekerPreparator.R) \
11
f4fc4a0f41e2 " master branch Updating"
lain
parents: 7
diff changeset
11 -i $(realpath ../data/test.rdata) \
0
a174cbbb12dd " master branch Updating"
lain
parents:
diff changeset
12 -m $(realpath ../data/models.R) \
a174cbbb12dd " master branch Updating"
lain
parents:
diff changeset
13 -c $(realpath ../data/SERUM_v2019Jan17.tabular) \
a174cbbb12dd " master branch Updating"
lain
parents:
diff changeset
14 -o $(realpath ../test.sqlite) \
19
2937e72e5891 " master branch Updating"
lain
parents: 11
diff changeset
15 $@ \
0
a174cbbb12dd " master branch Updating"
lain
parents:
diff changeset
16 || true
a174cbbb12dd " master branch Updating"
lain
parents:
diff changeset
17
a174cbbb12dd " master branch Updating"
lain
parents:
diff changeset
18
a174cbbb12dd " master branch Updating"
lain
parents:
diff changeset
19
a174cbbb12dd " master branch Updating"
lain
parents:
diff changeset
20 rm -rf "./data"
a174cbbb12dd " master branch Updating"
lain
parents:
diff changeset
21 cd "${currdir}"