Skip to content

Commit a799c1c

Browse files
committed
Make dicer-cli more helpful in case of an invalid policy file.
Upgrade Dicer-CLI to version 2.1 and use the new options available in that version to report a somewhat helpful error message from the OWLAPI in case the policy cannot be loaded. closes #1262
1 parent 295266e commit a799c1c

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

docker/odklite/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ LABEL maintainer="obo-tools@googlegroups.com"
44
ENV ROBOT_VERSION=1.9.8
55
ENV DOSDP_VERSION=0.19.3
66
ENV RELATION_GRAPH=2.3.2
7-
ENV DICER_VERSION=0.2.0
7+
ENV DICER_VERSION=0.2.1
88
ENV ODK_ROBOT_PLUGIN_VERSION=0.2.0
99
ENV SSSOM_JAVA_VERSION=1.5.1
1010

template/src/ontology/Makefile.jinja2

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1563,7 +1563,9 @@ normalize_src: $(SRC)
15631563

15641564
.PHONY: validate_idranges
15651565
validate_idranges:
1566-
if [ -f {{ project.id }}-idranges.owl ]; then dicer-cli policy {{ project.id }}-idranges.owl ; fi
1566+
if [ -f {{ project.id }}-idranges.owl ]; then \
1567+
dicer-cli policy --assume-manchester --show-owlapi-error {{ project.id }}-idranges.owl ; \
1568+
fi
15671569

15681570
# Deprecated: Use 'sh run.sh odk.py update' without using the Makefile.
15691571
.PHONY: update_repo

0 commit comments

Comments
 (0)