Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introducing full Uberon test battery again #1972

Closed
wants to merge 10 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/qc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,7 @@ jobs:
env:
DEFAULT_BRANCH: master
ROBOT_JAVA_ARGS: -Xmx6G
run: cd src/ontology && mkdir -p tmp reports && make ROBOT_ENV='ROBOT_JAVA_ARGS=-Xmx6G' IMP=false test
run: cd src/ontology && mkdir -p tmp reports mirror && make ROBOT_ENV='ROBOT_JAVA_ARGS=-Xmx6G' BRI=false test > TESTLOG.log
- name: Last rows of QC report
if: ${{ failure() }}
run: tail -20 src/ontology/TESTLOG.log
16 changes: 10 additions & 6 deletions src/ontology/uberon.Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -675,9 +675,12 @@ $(REPORTDIR)/bridge-check-%.txt: $(REPORTDIR)/bridge-check-%.owl $(CATALOG_DYNAM
owltools --no-debug --catalog-xml $(CATALOG_DYNAMIC) $< $(QELK) --run-reasoner -r elk -u > [email protected] && mv [email protected] $@

# TODO @cmungall: TRY again, CARO is worth fixing (SOP: take screenshot, make individual tickets with one explanation eachg)
$(REPORTDIR)/bridge-check-caro.txt: | $(CATALOG_DYNAMIC)
SKIPPED=$(REPORTDIR)/bridge-check-caro.txt
#$(REPORTDIR)/quick-bridge-check-wbbt.txt $(REPORTDIR)/quick-bridge-check-wbls.txt $(REPORTDIR)/bridge-check-wbls.txt \
# bridge-check-wbbt.owl
$(SKIPPED): | $(CATALOG_DYNAMIC)
echo "STRONG WARNING $@ currently set to NOT FAIL because of unsatisfiable classes!"
owltools --no-debug --catalog-xml $(CATALOG_DYNAMIC) $< $(QELK) --run-reasoner -r elk -u > $@ || true
#owltools --no-debug --catalog-xml $(CATALOG_DYNAMIC) $< $(QELK) --run-reasoner -r elk -u > $@ || true


$(REPORTDIR)/expl-bridge-check-%.txt: $(REPORTDIR)/bridge-check-%.owl $(CATALOG_DYNAMIC)
Expand Down Expand Up @@ -942,11 +945,10 @@ cl-core-new.obo: cell-ontology/cl.obo
# this is required for bridging axioms; ZFA inverts the usual directionality
# TODO review directionality!!!
$(TMPDIR)/cl-zfa-xrefs.obo: mirror/zfa.owl
$(ROBOT) query -i $< --query ../sparql/zfa-xrefs-to-cl.sparql $@_xrefs_to_zfa.tsv
cat $@_xrefs_to_zfa.tsv | tail -n +2 | $(SCRIPTSDIR)/tbl2obolinks.pl --rel xref - > [email protected] && mv [email protected] $@
if [ $(MIR) = true ] && [ $(IMP) = true ]; then $(ROBOT) query -i $< --query ../sparql/zfa-xrefs-to-cl.sparql $@_xrefs_to_zfa.tsv &&\
cat $@_xrefs_to_zfa.tsv | tail -n +2 | $(SCRIPTSDIR)/tbl2obolinks.pl --rel xref - > [email protected] && mv [email protected] $@; fi


#blip-findall -r ZFA "entity_xref(Z,C),id_idspace(C,'CL')" -select C-Z -use_tabs -no_pred | $(SCRIPTSDIR)/tbl2obolinks.pl --rel xref > $@
#blip-findall -r ZFA "entity_xref(Z,C),id_idspace(C,'CL')" -select C-Z -use_tabs -no_pred | $(SCRIPTSDIR)/tbl2obolinks.pl --rel xref > $@

#cl-core.owl: $(TMPDIR)/cl-core.obo
# $(MAKEOBO)
Expand Down Expand Up @@ -1761,3 +1763,5 @@ diffs-%:
.PHONY: dirs
dirs:
mkdir -p tmp mirror reports

test: uberon-qc