Skip to content

Commit

Permalink
Merge pull request #7 from luis-gonzalez-m/main
Browse files Browse the repository at this point in the history
New Lepidoptera-specific terms added.
  • Loading branch information
JCGiron authored Nov 17, 2021
2 parents 7af72e5 + ca876af commit 79de312
Show file tree
Hide file tree
Showing 12 changed files with 130,765 additions and 49,870 deletions.
723 changes: 717 additions & 6 deletions lepao-base.obo

Large diffs are not rendered by default.

2,846 changes: 2,838 additions & 8 deletions lepao-base.owl

Large diffs are not rendered by default.

8,537 changes: 5,447 additions & 3,090 deletions lepao-full.obo

Large diffs are not rendered by default.

59,249 changes: 46,687 additions & 12,562 deletions lepao-full.owl

Large diffs are not rendered by default.

8,537 changes: 5,447 additions & 3,090 deletions lepao.obo

Large diffs are not rendered by default.

59,093 changes: 46,564 additions & 12,529 deletions lepao.owl

Large diffs are not rendered by default.

12 changes: 8 additions & 4 deletions src/ontology/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ----------------------------------------
# Makefile for lepao
# Generated using ontology-development-kit
# ODK Version: v1.2.29
# ODK Version: v1.2.30
# ----------------------------------------
# IMPORTANT: DO NOT EDIT THIS FILE. To override default make goals, use lepao.Makefile instead

Expand Down Expand Up @@ -35,7 +35,7 @@ REPORT_PROFILE_OPTS =
OBO_FORMAT_OPTIONS =
SPARQL_VALIDATION_CHECKS = equivalent-classes owldef-self-reference
SPARQL_EXPORTS = basic-report class-count-by-prefix edges xrefs obsoletes synonyms
ODK_VERSION_MAKEFILE = v1.2.29
ODK_VERSION_MAKEFILE = v1.2.30

TODAY ?= $(shell date +%Y-%m-%d)
OBODATE ?= $(shell date +'%d:%m:%Y %H:%M')
Expand Down Expand Up @@ -247,7 +247,7 @@ mirror/aism.trigger: $(SRC)

mirror/aism.owl: mirror/aism.trigger
if [ $(MIR) = true ] && [ $(IMP) = true ]; then $(ROBOT) convert -I https://raw.githubusercontent.com/insect-morphology/aism/master/aism.owl -o $@.tmp.owl && mv $@.tmp.owl $@; fi
.PRECIOUS: mirror/%.owl
.PRECIOUS: mirror/aism.owl



Expand Down Expand Up @@ -294,6 +294,10 @@ endif
# ----------------------------------------
# ROBOT report
# ----------------------------------------

$(REPORTDIR)/$(SRC)-obo-report.tsv: $(SRCMERGED) | $(REPORTDIR)
$(ROBOT) report -i $< $(REPORT_LABEL) $(REPORT_PROFILE_OPTS) --fail-on $(REPORT_FAIL_ON) --print 5 -o $@

$(REPORTDIR)/%-obo-report.tsv: % | $(REPORTDIR)
$(ROBOT) report -i $< $(REPORT_LABEL) $(REPORT_PROFILE_OPTS) --fail-on $(REPORT_FAIL_ON) --print 5 -o $@

Expand All @@ -305,7 +309,7 @@ SPARQL_EXPORTS_ARGS = $(foreach V,$(SPARQL_EXPORTS),-s $(SPARQLDIR)/$(V).sparql
# This combines all into one single command

.PHONY: all_reports_onestep
all_reports_onestep: $(SRC)
all_reports_onestep: $(SRC) | $(REPORTDIR)
ifneq ($(SPARQL_EXPORTS_ARGS),)
$(ROBOT) query -f tsv -i $< $(SPARQL_EXPORTS_ARGS)
endif
Expand Down
40,086 changes: 21,516 additions & 18,570 deletions src/ontology/imports/aism_import.owl

Large diffs are not rendered by default.

1,222 changes: 1,214 additions & 8 deletions src/ontology/lepao-edit.owl

Large diffs are not rendered by default.

323 changes: 322 additions & 1 deletion src/ontology/reports/lepao-edit.owl-obo-report.tsv

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion src/ontology/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,7 @@
# we therefore map the whole repo (../..) to a docker volume.
#
# See README-editors.md for more details.
docker run -v $PWD/../../:/work -w /work/src/ontology -e ROBOT_JAVA_ARGS='' -e JAVA_OPTS='' --rm -ti obolibrary/odkfull "$@"

IMAGE=${IMAGE:-odkfull}

docker run -v $PWD/../../:/work -w /work/src/ontology -e ROBOT_JAVA_ARGS='' -e JAVA_OPTS='' --rm -ti obolibrary/$IMAGE "$@"
2 changes: 1 addition & 1 deletion src/scripts/update_repo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ CONFIG=$OID"-odk.yaml"

rm -rf target
mkdir target
/tools/odk.py seed -c -g False -C $CONFIG
/tools/odk.py seed -c -g -C $CONFIG
ls -l target/$OID/src
ls -l $SRCDIR/
cp target/$OID/src/scripts/update_repo.sh $SRCDIR/scripts/
Expand Down

0 comments on commit 79de312

Please sign in to comment.