Skip to content

Commit

Permalink
Fix test ontologies in ODK
Browse files Browse the repository at this point in the history
  • Loading branch information
matentzn authored and gouttegd committed May 26, 2023
1 parent b6336f8 commit 6be4241
Show file tree
Hide file tree
Showing 27 changed files with 57 additions and 16 deletions.
4 changes: 3 additions & 1 deletion tests/test-base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@ import_group:
mirror_max_time_download: 400
products:
- id: ro
mirror_from: https://raw.githubusercontent.com/INCATools/ontology-development-kit/master/tests/ontologies/ro.owl
- id: pato
use_base: TRUE
# This test cannot be easily replaced, because use_base and custom URL dont mix
- id: pr
make_base: TRUE
mirror_from: https://raw.githubusercontent.com/obophenotype/pro_obo_slim/master/pr_slim.owl
mirror_from: https://raw.githubusercontent.com/INCATools/ontology-development-kit/master/tests/ontologies/pr_slim.owl
4 changes: 3 additions & 1 deletion tests/test-components-make-base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@ export_formats:
import_group:
products:
- id: ro
mirror_from: https://raw.githubusercontent.com/INCATools/ontology-development-kit/master/tests/ontologies/ro.owl
- id: bfo
mirror_from: https://raw.githubusercontent.com/INCATools/ontology-development-kit/master/tests/ontologies/bfo.owl
components:
products:
- filename: pato.owl
source: http://purl.obolibrary.org/obo/pato.owl
source: https://raw.githubusercontent.com/INCATools/ontology-development-kit/master/tests/ontologies/pato.owl
base_iris:
- http://purl.obolibrary.org/obo/PATO_
- http://purl.obolibrary.org/obo/pato#
Expand Down
3 changes: 3 additions & 0 deletions tests/test-components.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,11 @@ export_formats:
import_group:
products:
- id: pato
mirror_from: https://raw.githubusercontent.com/INCATools/ontology-development-kit/master/tests/ontologies/pato.owl
- id: ro
mirror_from: https://raw.githubusercontent.com/INCATools/ontology-development-kit/master/tests/ontologies/ro.owl
- id: bfo
mirror_from: https://raw.githubusercontent.com/INCATools/ontology-development-kit/master/tests/ontologies/bfo.owl
components:
products:
- filename: wbphenotype-equivalent-axioms-subq.owl
Expand Down
2 changes: 2 additions & 0 deletions tests/test-dosdp-matches.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ export_formats:
import_group:
products:
- id: ro
mirror_from: https://raw.githubusercontent.com/INCATools/ontology-development-kit/master/tests/ontologies/ro.owl
- id: pato
mirror_from: https://raw.githubusercontent.com/INCATools/ontology-development-kit/master/tests/ontologies/pato.owl
pattern_pipelines_group:
products:
- id: manual
Expand Down
3 changes: 2 additions & 1 deletion tests/test-edit-obo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ report_fail_on: ERROR
edit_format: obo
import_group:
products:
- id: ro
- id: ro
mirror_from: https://raw.githubusercontent.com/INCATools/ontology-development-kit/master/tests/ontologies/ro.owl
3 changes: 3 additions & 0 deletions tests/test-github-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,11 @@ primary_release: simple
import_group:
products:
- id: ro
mirror_from: https://raw.githubusercontent.com/INCATools/ontology-development-kit/master/tests/ontologies/ro.owl
- id: pato
mirror_from: https://raw.githubusercontent.com/INCATools/ontology-development-kit/master/tests/ontologies/pato.owl
- id: mpath
mirror_from: https://raw.githubusercontent.com/INCATools/ontology-development-kit/master/tests/ontologies/mpath.owl
public_release: github_curl
public_release_assets:
- rtgh.owl
Expand Down
5 changes: 3 additions & 2 deletions tests/test-import-minimal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ primary_release: full
import_group:
products:
- id: ro
- id: iao
- id: pco
mirror_from: https://raw.githubusercontent.com/INCATools/ontology-development-kit/master/tests/ontologies/ro.owl
- id: omo
mirror_from: https://raw.githubusercontent.com/INCATools/ontology-development-kit/master/tests/ontologies/omo.owl
components:
products:
- filename: pato_ext.owl
Expand Down
1 change: 1 addition & 0 deletions tests/test-module-custom.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import_group:
products:
- id: ro
mirror_type: base
mirror_from: https://raw.githubusercontent.com/INCATools/ontology-development-kit/master/tests/ontologies/ro.owl
- id: wikidata
mirror_type: no_mirror
module_type: custom
Expand Down
2 changes: 1 addition & 1 deletion tests/test-module-minimal-large.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export_formats:
import_group:
products:
- id: ro
use_base: TRUE
mirror_from: https://raw.githubusercontent.com/INCATools/ontology-development-kit/master/tests/ontologies/ro.owl
- id: pato
is_large: TRUE
module_type: minimal
Expand Down
2 changes: 2 additions & 0 deletions tests/test-module-minimal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ export_formats:
import_group:
products:
- id: ro
mirror_from: https://raw.githubusercontent.com/INCATools/ontology-development-kit/master/tests/ontologies/ro.owl
- id: pato
mirror_from: https://raw.githubusercontent.com/INCATools/ontology-development-kit/master/tests/ontologies/pato.owl
module_type: minimal

2 changes: 2 additions & 0 deletions tests/test-module-mireot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ export_formats:
import_group:
products:
- id: ro
mirror_from: https://raw.githubusercontent.com/INCATools/ontology-development-kit/master/tests/ontologies/ro.owl
- id: pato
mirror_from: https://raw.githubusercontent.com/INCATools/ontology-development-kit/master/tests/ontologies/pato.owl
module_type: mireot

5 changes: 3 additions & 2 deletions tests/test-module-mirror.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
id: modmir
title: "Test ROBOT extract minimal with base and large option"
title: "Test ROBOT extract with module type mirror"
github_org: INCATools
repo: ontology-development-kit
edit_format: obo
Expand All @@ -8,7 +8,8 @@ export_formats:
- obo
import_group:
products:
- id: envo
- id: pato
mirror_from: https://raw.githubusercontent.com/INCATools/ontology-development-kit/master/tests/ontologies/pato.owl
module_type: mirror
allow_equivalents: all

2 changes: 2 additions & 0 deletions tests/test-module-star.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ export_formats:
import_group:
products:
- id: ro
mirror_from: https://raw.githubusercontent.com/INCATools/ontology-development-kit/master/tests/ontologies/ro.owl
- id: pato
mirror_from: https://raw.githubusercontent.com/INCATools/ontology-development-kit/master/tests/ontologies/pato.owl
module_type: slme
module_type_slme: STAR
slme_individuals: exclude
Expand Down
4 changes: 3 additions & 1 deletion tests/test-non-import-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,6 @@ import_group:
release_imports: TRUE
products:
- id: ro
- id: pato
mirror_from: https://raw.githubusercontent.com/INCATools/ontology-development-kit/master/tests/ontologies/ro.owl
- id: pato
mirror_from: https://raw.githubusercontent.com/INCATools/ontology-development-kit/master/tests/ontologies/pato.owl
2 changes: 2 additions & 0 deletions tests/test-patterns.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ export_formats:
import_group:
products:
- id: ro
mirror_from: https://raw.githubusercontent.com/INCATools/ontology-development-kit/master/tests/ontologies/ro.owl
- id: pato
mirror_from: https://raw.githubusercontent.com/INCATools/ontology-development-kit/master/tests/ontologies/pato.owl
pattern_pipelines_group:
products:
- id: manual
Expand Down
2 changes: 2 additions & 0 deletions tests/test-release-format-patterns.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ export_formats:
import_group:
products:
- id: ro
mirror_from: https://raw.githubusercontent.com/INCATools/ontology-development-kit/master/tests/ontologies/ro.owl
- id: pato
mirror_from: https://raw.githubusercontent.com/INCATools/ontology-development-kit/master/tests/ontologies/pato.owl
pattern_pipelines_group:
products:
- id: manual
Expand Down
5 changes: 4 additions & 1 deletion tests/test-release-format.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,8 @@ export_formats:
import_group:
products:
- id: ro
mirror_from: https://raw.githubusercontent.com/INCATools/ontology-development-kit/master/tests/ontologies/ro.owl
- id: pato
- id: mpath
mirror_from: https://raw.githubusercontent.com/INCATools/ontology-development-kit/master/tests/ontologies/pato.owl
- id: mpath
mirror_from: https://raw.githubusercontent.com/INCATools/ontology-development-kit/master/tests/ontologies/mpath.owl
1 change: 1 addition & 0 deletions tests/test-release-imports-not-edit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ import_group:
release_imports: TRUE
products:
- id: ro
mirror_from: https://raw.githubusercontent.com/INCATools/ontology-development-kit/master/tests/ontologies/ro.owl
5 changes: 4 additions & 1 deletion tests/test-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,8 @@ import_group:
release_imports: TRUE
products:
- id: ro
mirror_from: https://raw.githubusercontent.com/INCATools/ontology-development-kit/master/tests/ontologies/ro.owl
- id: pato
- id: mpath
mirror_from: https://raw.githubusercontent.com/INCATools/ontology-development-kit/master/tests/ontologies/pato.owl
- id: mpath
mirror_from: https://raw.githubusercontent.com/INCATools/ontology-development-kit/master/tests/ontologies/mpath.owl
2 changes: 2 additions & 0 deletions tests/test-robot-report-baseiri.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ namespaces:
import_group:
products:
- id: ro
mirror_from: https://raw.githubusercontent.com/INCATools/ontology-development-kit/master/tests/ontologies/ro.owl
- id: omo
mirror_from: https://raw.githubusercontent.com/INCATools/ontology-development-kit/master/tests/ontologies/omo.owl
robot_report:
use_base_iris: True
release_reports: True
Expand Down
4 changes: 3 additions & 1 deletion tests/test-robot-report.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ release_artefacts:
import_group:
products:
- id: ro
- id: iao
mirror_from: https://raw.githubusercontent.com/INCATools/ontology-development-kit/master/tests/ontologies/ro.owl
- id: omo
mirror_from: https://raw.githubusercontent.com/INCATools/ontology-development-kit/master/tests/ontologies/omo.owl
robot_report:
release_reports: True
fail_on : ERROR
Expand Down
1 change: 1 addition & 0 deletions tests/test-robot-validate-profile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export_formats:
import_group:
products:
- id: ro
mirror_from: https://raw.githubusercontent.com/INCATools/ontology-development-kit/master/tests/ontologies/ro.owl
robot_report:
release_reports: True
fail_on : ERROR
Expand Down
1 change: 1 addition & 0 deletions tests/test-sparql-report.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ release_artefacts:
import_group:
products:
- id: ro
mirror_from: https://raw.githubusercontent.com/INCATools/ontology-development-kit/master/tests/ontologies/ro.owl
robot_report:
release_reports: True
fail_on : ERROR
Expand Down
1 change: 1 addition & 0 deletions tests/test-sssom.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export_formats:
import_group:
products:
- id: ro
mirror_from: https://raw.githubusercontent.com/INCATools/ontology-development-kit/master/tests/ontologies/ro.owl
sssom_mappingset_group:
products:
- id: modmini-onta
Expand Down
1 change: 1 addition & 0 deletions tests/test-templates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export_formats:
import_group:
products:
- id: ro
mirror_from: https://raw.githubusercontent.com/INCATools/ontology-development-kit/master/tests/ontologies/ro.owl
components:
products:
- filename: test-with-context.owl
Expand Down
3 changes: 1 addition & 2 deletions tests/test-uribase-suffix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,4 @@ uribase_suffix: ontology
import_group:
products:
- id: ro
- id: pato
use_base: TRUE
mirror_from: https://raw.githubusercontent.com/INCATools/ontology-development-kit/master/tests/ontologies/ro.owl
3 changes: 1 addition & 2 deletions tests/test-uribase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@ uribase: https://w3id.org/odk
import_group:
products:
- id: ro
- id: pato
use_base: TRUE
mirror_from: https://raw.githubusercontent.com/INCATools/ontology-development-kit/master/tests/ontologies/ro.owl

0 comments on commit 6be4241

Please sign in to comment.