diff --git a/Makefile b/Makefile index f0b38f9..a26a4a8 100644 --- a/Makefile +++ b/Makefile @@ -42,11 +42,11 @@ tmp/mondo_validate_full.tsv: tmp/mondo.db tmp/mondo_validate.tsv: tmp/mondo_validate_full.tsv $(RUN) mondoqc validate $< -o $@ -obsoletion_tables: tmp/mondo-relaxed-branchreview.db tmp/mondo-reasoned-branchreview.db - for id in $(shell cat src/mondolib/branch_ids.tsv); do \ - $(RUN) mondoqc create-review-table -i tmp/mondo-reasoned-branchreview.db -o tmp/mondo-reasoned-branch-$$id-review.tsv -f src/mondolib/obsoletion_terms.tsv -b $$id;\ - $(RUN) mondoqc create-review-table -i tmp/mondo-relaxed-branchreview.db -o tmp/mondo-relaxed-branch-$$id-review.tsv -f src/mondolib/obsoletion_terms.tsv -b $$id;\ - $(RUN) mondoqc relax-and-reason -i tmp/mondo-reasoned-branch-$$id-review.tsv -i tmp/mondo-relaxed-branch-$$id-review.tsv -r tmp/mondo-relaxed-branchreview.db -f src/mondolib/obsoletion_terms.tsv -o reports/mondo-combined-branch-$$id-review.tsv;\ +obsoletion-tables: tmp/mondo-relaxed-branchreview.db tmp/mondo-reasoned-branchreview.db + for id in $(shell cat src/mondolib/config/branch_ids.tsv); do \ + $(RUN) mondoqc create-review-table -i tmp/mondo-reasoned-branchreview.db -o tmp/mondo-reasoned-branch-$$id-review.tsv -f src/mondolib/config/obsoletion_terms.tsv -b $$id;\ + $(RUN) mondoqc create-review-table -i tmp/mondo-relaxed-branchreview.db -o tmp/mondo-relaxed-branch-$$id-review.tsv -f src/mondolib/config/config/obsoletion_terms.tsv -b $$id;\ + $(RUN) mondoqc relax-and-reason -i tmp/mondo-reasoned-branch-$$id-review.tsv -i tmp/mondo-relaxed-branch-$$id-review.tsv -r tmp/mondo-relaxed-branchreview.db -f src/mondolib/config/obsoletion_terms.tsv -o reports/mondo-combined-branch-$$id-review.tsv;\ done lexmatch: tmp/mondo_lexmatch.sssom.tsv diff --git a/src/mondolib/branch_ids.tsv b/src/mondolib/config/branch_ids.tsv similarity index 100% rename from src/mondolib/branch_ids.tsv rename to src/mondolib/config/branch_ids.tsv diff --git a/src/mondolib/obsoletion_terms.tsv b/src/mondolib/config/obsoletion_terms.tsv similarity index 100% rename from src/mondolib/obsoletion_terms.tsv rename to src/mondolib/config/obsoletion_terms.tsv