-
Notifications
You must be signed in to change notification settings - Fork 0
/
makefile
40 lines (31 loc) · 1.3 KB
/
makefile
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
tests/data/MoAEpilot:
mkdir -p tests/data
curl -fL -o moae.zip https://www.fil.ion.ucl.ac.uk/spm/download/data/MoAEpilot/MoAEpilot.bids.zip
unzip -q moae.zip -d tests/data
rm -f moae.zip
build:
docker build . --tag cat12
version:
docker run --rm -it cat12 . . participant --version
view:
docker run --rm -it cat12 . . participant view segment_enigma --verbose 3
copy:
docker run --rm -it cat12 . /foo participant copy segment --verbose 3
segment: tests/data/MoAEpilot
docker run --rm -it -v $${PWD}/tests/data/MoAEpilot:/data cat12 /data /data/derivatives participant segment --verbose 3 --type default
enigma: tests/data/MoAEpilot
docker run --rm -it -v $${PWD}/tests/data/MoAEpilot:/data cat12 /data /data/derivatives participant segment --verbose 3 --type enigma
simple: tests/data/MoAEpilot
docker run --rm -it -v $${PWD}/tests/data/MoAEpilot:/data cat12 /data /data/derivatives participant segment --verbose 3 --type simple
data_ds002799:
mkdir -p tests/data
cd tests/data && datalad install ///openneuro/ds002799
cd tests/data/ds002799 && datalad get sub-2*/*/*/*T1w* -J 12
ds002799: data_ds002799
mkdir -p tests/data/outputs
docker run --rm -it \
-v $${PWD}/tests/data:/data \
cat12 /data/ds002799 /data/outputs/ds002799 participant \
segment \
--type long_2 \
--participant_label 292 294