-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMakefile
More file actions
31 lines (22 loc) · 1010 Bytes
/
Makefile
File metadata and controls
31 lines (22 loc) · 1010 Bytes
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
test:
pytest tests/ -v
run-igua:
mkdir -p tests/test_output
igua -i tests/fixtures/ecoli_input_metadata.tsv --dataset-type defense-finder --output tests/test_output/ecoli_gcfs.tsv --compositions tests/test_output/ecoli_compositions.h5ad --features tests/test_output/ecoli_features.fa
igua -i tests/fixtures/ecoli_gzip_input_metadata.tsv --dataset-type defense-finder --output tests/test_output/ecoli_gzip_gcfs.tsv --compositions tests/test_output/ecoli_gzip_compositions.h5ad --features tests/test_output/ecoli_gzip_features.fa
test-regression:
pytest tests/regression/test_output_regression.py -q --tb=line
test-ref:
pytest tests/regression/test_ref.py -q --tb=line
clean:
rm -rf tests/test_output/
rm -rf .pytest_cache/
rm -rf __pycache__/
rm -rf igua/__pycache__/
rm -rf tests/__pycache__/
rm -rf tests/regression/__pycache__/
all: clean run-igua tests
tests: test-regression test-ref
update-ref:
# after confirming new behaviour is correct
cp -rf tests/test_output/* tests/fixtures/