forked from StrongResearch/dimble
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
35 lines (26 loc) · 823 Bytes
/
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
install:
pip install .
install-dev:
pip install .[dev]
validate_install:
python scripts/validate_install
prep_test:
python scripts/_make_eye3s.py
([ ! -d 'pydicom-data' ] && git clone https://github.com/pydicom/pydicom-data.git) || true
([ ! -d 'niivue-images' ] && git clone https://github.com/neurolabusc/niivue-images.git) || true
test: prep_test
cargo test
pytest --benchmark-disable
bench: prep_test
pytest --benchmark-enable --benchmark-group-by=fullfunc
bench-dicom-baselines:
pytest test/dicom_baseline_comparisons.py --benchmark-group-by=param -s --benchmark-save=dicom_baselines_comparisons
bench-nifti-baselines:
pytest test/nifti_baseline_comparisons.py --benchmark-group-by=param -s --benchmark-save=nifti_baselines_comparisons
fmt:
cargo fmt
isort .
black .
lint:
cargo clippy
flake8