Skip to content

Commit

Permalink
Merge pull request #631 from monarch-initiative/add-baseplus
Browse files Browse the repository at this point in the history
Add baseplus release and update QC to complain with equivalents
  • Loading branch information
Leigh Carmody authored Feb 1, 2024
2 parents a109acf + 946efbc commit 4b90394
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/ontology/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ release_diff: $(REPORTDIR)/release-diff.md

.PHONY: reason_test
reason_test: $(EDIT_PREPROCESSED)
$(ROBOT) reason --input $< --reasoner ELK --equivalent-classes-allowed all \
$(ROBOT) reason --input $< --reasoner ELK --equivalent-classes-allowed asserted-only \
--exclude-tautologies structural --output test.owl && rm test.owl

.PHONY: odkversion
Expand Down Expand Up @@ -762,7 +762,7 @@ $(ONT)-base.owl: $(EDIT_PREPROCESSED) $(OTHER_SRC)
# Full: The full artefacts with imports merged, reasoned.
$(ONT)-full.owl: $(EDIT_PREPROCESSED) $(OTHER_SRC) $(IMPORT_FILES)
$(ROBOT_RELEASE_IMPORT_MODE) \
reason --reasoner ELK --equivalent-classes-allowed all --exclude-tautologies structural \
reason --reasoner ELK --equivalent-classes-allowed asserted-only --exclude-tautologies structural \
relax \
reduce -r ELK \
$(SHARED_ROBOT_COMMANDS) annotate --ontology-iri $(ONTBASE)/$@ $(ANNOTATE_ONTOLOGY_VERSION) --output $@.tmp.owl && mv $@.tmp.owl $@
Expand Down
2 changes: 1 addition & 1 deletion src/ontology/maxo-odk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ components:
use_template: TRUE
templates:
- maxo-in-progress.tsv
allow_equivalents: all
allow_equivalents: asserted-only
robot_report:
use_base_iris: True
fail_on : ERROR
Expand Down
11 changes: 11 additions & 0 deletions src/ontology/maxo.Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,17 @@ test: maxo-base.json
test_fast:
$(MAKE_FAST) test

$(ONT)-base.owl: $(EDIT_PREPROCESSED) $(OTHER_SRC) $(IMPORT_FILES)
$(ROBOT_RELEASE_IMPORT_MODE) \
reason --reasoner ELK --equivalent-classes-allowed asserted-only --exclude-tautologies structural \
relax \
reduce -r ELK \
remove --base-iri $(URIBASE)/MAXO_ --axioms external --preserve-structure false --trim false \
$(SHARED_ROBOT_COMMANDS) \
annotate --link-annotation http://purl.org/dc/elements/1.1/type http://purl.obolibrary.org/obo/IAO_8000001 \
--ontology-iri $(ONTBASE)/$@ $(ANNOTATE_ONTOLOGY_VERSION) \
--output $@.tmp.owl && mv $@.tmp.owl $@

#########################################
### Generating all ROBOT templates ######
#########################################
Expand Down
Empty file modified src/ontology/run.sh
100644 → 100755
Empty file.

0 comments on commit 4b90394

Please sign in to comment.