-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathtestdocker.sh
More file actions
executable file
·79 lines (66 loc) · 2.28 KB
/
testdocker.sh
File metadata and controls
executable file
·79 lines (66 loc) · 2.28 KB
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
76
77
78
79
#!/bin/bash
DATADIR=/Users/frederic/code/rapidtide
MYIPADDRESS=$(ifconfig en0 | grep 'inet ' | awk '{print $2}')
VERSION=latest
# allow network connections in Xquartz Security settings
xhost +
# make sure the test data is installed
#pushd ${DATADIR}/rapidtide/data/examples/src;./installtestdatahere;popd
docker pull fredericklab/rapidtide:${VERSION}
#docker run \
# --rm \
# --ipc host \
# --mount type=bind,source=${DATADIR}/rapidtide/data/examples,destination=/data \
# -it \
# -v /tmp/.X11-unix:/tmp/.X11-unix \
# -u rapidtide fredericklab/rapidtide:${VERSION} \
# /cloud/mount-and-run rapidtide \
# /data/src/sub-RAPIDTIDETEST.nii.gz \
# /data/dst/sub-RAPIDTIDETEST \
# --passes 3 \
# --nprocs 4 \
# --nodenoise
#docker run \
# --rm \
# --ipc host \
# --mount type=bind,source=${DATADIR}/rapidtide/data/examples,destination=/data \
# -it \
# -v /tmp/.X11-unix:/tmp/.X11-unix \
# -u rapidtide fredericklab/rapidtide:${VERSION} \
# rapidtide \
# /data/src/sub-RAPIDTIDETEST.nii.gz \
# /data/dst/sub-RAPIDTIDETEST \
# --passes 3 \
# --nprocs -1 \
# --nodenoise
#docker run \
# --rm \
# --ipc host \
# --mount type=bind,source=${DATADIR}/rapidtide/data/examples,destination=/data \
# -it \
# -v /tmp/.X11-unix:/tmp/.X11-unix \
# -u rapidtide fredericklab/rapidtide:${VERSION} \
# happy \
# /data/src/sub-HAPPYTEST.nii.gz \
# /data/src/sub-HAPPYTEST.json \
# /data/dst/sub-HAPPYTEST_${VERSION} \
# --nprocs -1
#docker run \
# --network host \
# --mount type=bind,source=${DATADIR}/rapidtide/data/examples,destination=/data \
# -it \
# -e DISPLAY=${MYIPADDRESS}:0 \
# -v /tmp/.X11-unix:/tmp/.X11-unix \
# -u rapidtide fredericklab/rapidtide:${VERSION} \
# tidepool --dataset /data/dst/sub-RAPIDTIDETEST_
docker run \
--network host \
--mount type=bind,source=/Users/frederic/Downloads/sendtoblaise,destination=/data \
-it \
-e DISPLAY=${MYIPADDRESS}:0 \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-u rapidtide fredericklab/rapidtide:${VERSION} \
showxcorrx \
/data/network_tc_7thcolumnisDMN/100206_REST1_LR_regiontcs.txt:6 \
/data/slfo_tc/100206_REST1_LR_sLFO.txt \
--sampletime 0.72 --numnull 10000