From 2e8acd230b4e8b4791ee08e51629da3ccf390933 Mon Sep 17 00:00:00 2001 From: Damien Goutte-Gattat Date: Tue, 23 Jun 2026 19:31:07 +0100 Subject: [PATCH] Fix the `minimal` module type. The code that generates the `minimal` module type is supposed, at some point, to select classes, individuals, and annotation properties. However, the rule is incorrectly written as --select "classes individual annotation-properties" which is incorrect because the keyword that ROBOT expects to select individuals is `individuals` (with a final `-s`) -- `individual` without a `-s` is ignored. --- src/incatools/odk/templates/src/ontology/Makefile.jinja2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/incatools/odk/templates/src/ontology/Makefile.jinja2 b/src/incatools/odk/templates/src/ontology/Makefile.jinja2 index 38cb18e..c41c287 100644 --- a/src/incatools/odk/templates/src/ontology/Makefile.jinja2 +++ b/src/incatools/odk/templates/src/ontology/Makefile.jinja2 @@ -736,7 +736,7 @@ $(IMPORTDIR)/{{ ont.id }}_import.owl: $(MIRRORDIR)/{{ ont.id }}.owl $(IMPORTDIR) --term {{ p }} \{% endfor %} --term-file $(IMPORTDIR)/{{ ont.id }}_terms.txt $(T_IMPORTSEED) \ --select complement \ - --select "classes individual annotation-properties" \ + --select "classes individuals annotation-properties" \ $(ANNOTATE_CONVERT_FILE) {% elif 'custom' -%} $(IMPORTDIR)/{{ ont.id }}_import.owl: {% if 'no_mirror' != ont.mirror_type %}$(MIRRORDIR)/{{ ont.id }}.owl{% endif %}