generated from ETSInitiative/PETSIRDUseCaseTemplate
-
Notifications
You must be signed in to change notification settings - Fork 3
/
justfile
48 lines (30 loc) · 2.26 KB
/
justfile
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
set shell := ['bash', '-ceuo', 'pipefail']
default: run
@ensure-build-dir:
mkdir -p cpp/build
@generate:
cd PETSIRD/model; \
yardl generate
@configure: generate ensure-build-dir
cd cpp/build; \
cmake -GNinja ..
@build: generate configure
cd cpp/build; \
ninja
#@run: build download-test-data
# cpp/build/root_to_petsird --root-prefix data/root/ETSIPETscanner_mIEC_ --number-of-root-files 1 --petsird-file petsird.bin -s data/root/scanner_geometry.json
#@run-full: build download-test-data-full
# cpp/build/root_to_petsird --root-prefix data/root/ETSIPETscanner_mIEC_ --number-of-root-files 36 --petsird-file petsird-full.bin -s data/root/scanner_geometry.json
@run_0min_mIEC: build
cpp/build/root_to_petsird --root-prefix ROOT_DATA/IEC/ETSIPETscanner_mIEC_ --number-of-root-files 0 --petsird-file petsird_ETSIPETscanner_mIEC_0min_v0.2.bin -s data/root/scanner_geometry.json
@run_10sec_mIEC: build
cpp/build/root_to_petsird --root-prefix ROOT_DATA/IEC/ETSIPETscanner_mIEC_ --number-of-root-files 1 --petsird-file petsird_ETSIPETscanner_mIEC_10sec_v0.2.bin -s data/root/scanner_geometry.json
@run-6min_mIEC: build
cpp/build/root_to_petsird --root-prefix ROOT_DATA/IEC/ETSIPETscanner_mIEC_ --number-of-root-files 36 --petsird-file petsird_ETSIPETscanner_mIEC_6min_v0.2.bin -s data/root/scanner_geometry.json
@run_0min_voxBrain: build
cpp/build/root_to_petsird --root-prefix ROOT_DATA/voxBrain/ETSIPETscanner256mmAFOV_positronSource/ETSIPETscanner256mmAFOV_voxBrain_ --number-of-root-files 0 --petsird-file petsird_ETSIPETscanner256mmAFOV_voxBrain_0min_v0.2.bin -s data/root/ETSIPETscanner256mmAFOV_geometry.json
@run_3min_voxBrain: build
cpp/build/root_to_petsird --root-prefix ROOT_DATA/voxBrain/ETSIPETscanner256mmAFOV_positronSource/ETSIPETscanner256mmAFOV_voxBrain_ --number-of-root-files 18 --petsird-file petsird_ETSIPETscanner256mmAFOV_voxBrain_3min_v0.2.bin -s data/root/ETSIPETscanner256mmAFOV_geometry.json
@run_6min_voxBrain: build
cpp/build/root_to_petsird --root-prefix ROOT_DATA/voxBrain/ETSIPETscanner256mmAFOV_positronSource/ETSIPETscanner256mmAFOV_voxBrain_ --number-of-root-files 36 --petsird-file petsird_ETSIPETscanner256mmAFOV_voxBrain_6min_v0.2.bin -s data/root/ETSIPETscanner256mmAFOV_geometry.json
@run: run_0min_voxBrain