-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.Makefile
34 lines (28 loc) · 1.48 KB
/
project.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
RUN=poetry run
assets/MixsCompliantData-001-report.txt: src/data/examples/valid/MixsCompliantData-001.yaml \
src/mixs_missing_value_sandbox/schema/mixs_missing_value_sandbox.yaml
$(RUN) linkml-validate \
--schema $(word 2,$^) \
--target-class $(shell echo $(basename $(notdir $(word 1,$^))) | cut -d'-' -f1) \
$(word 1,$^) > $@
assets/MimsSoil-collection_date-absent-report.txt: src/data/examples/invalid/MimsSoil-collection_date-absent.yaml \
src/mixs_missing_value_sandbox/schema/mixs_missing_value_sandbox.yaml
$(RUN) linkml-validate \
--schema $(word 2,$^) \
--target-class $(shell echo $(basename $(notdir $(word 1,$^))) | cut -d'-' -f1) \
$(word 1,$^) > $@
assets/MimsSoil-collection_date-from_enum-report.txt: src/data/examples/valid/MimsSoil-collection_date-from_enum.yaml \
src/mixs_missing_value_sandbox/schema/mixs_missing_value_sandbox.yaml
$(RUN) linkml-validate \
--schema $(word 2,$^) \
--target-class $(shell echo $(basename $(notdir $(word 1,$^))) | cut -d'-' -f1) \
$(word 1,$^) > $@
assets/MixsCompliantData-001.tsv: src/data/examples/valid/MixsCompliantData-001.yaml \
src/mixs_missing_value_sandbox/schema/mixs_missing_value_sandbox.yaml
$(RUN) linkml-convert --schema $(word 2,$^) \
--output $@ \
--index-slot mims_soil_data $(word 1,$^)
assets/compare_mims_and_soil_slots.txt:
poetry run python src/scripts/compare_mims_and_soil_slots.py > $@
assets/ranges_of_requireds_of_combination.txt:
poetry run python src/scripts/ranges_of_requireds_of_combination.py > $@