From ca68333ae1898de0e32076bf70ae7e77fd82cdd5 Mon Sep 17 00:00:00 2001 From: Anita Caron Date: Mon, 2 Oct 2023 11:02:11 +0100 Subject: [PATCH] update yaml to use canonical form for true/false in tests dir (#930) Co-authored-by: Anita Caron --- tests/test-base.yaml | 6 +++--- tests/test-components-make-base.yaml | 2 +- tests/test-components.yaml | 2 +- tests/test-import-minimal.yaml | 4 ++-- tests/test-module-minimal-large.yaml | 2 +- tests/test-module-star.yaml | 4 ++-- tests/test-non-import-release.yaml | 4 ++-- tests/test-patterns.yaml | 2 +- tests/test-release-format-patterns.yaml | 2 +- tests/test-release-imports-not-edit.yaml | 4 ++-- tests/test-release-materialise.yaml | 2 +- tests/test-release.yaml | 4 ++-- tests/test-robot-report-baseiri.yaml | 8 ++++---- tests/test-robot-report.yaml | 6 +++--- tests/test-robot-validate-profile.yaml | 8 ++++---- tests/test-sparql-report.yaml | 6 +++--- tests/test-sssom.yaml | 4 ++-- tests/test-templates.yaml | 6 +++--- 18 files changed, 38 insertions(+), 38 deletions(-) diff --git a/tests/test-base.yaml b/tests/test-base.yaml index 9d017b9d..9489d60b 100644 --- a/tests/test-base.yaml +++ b/tests/test-base.yaml @@ -3,7 +3,7 @@ title: "Test Base" github_org: INCATools repo: ontology-development-kit import_group: - use_base_merging: TRUE + use_base_merging: true exclude_iri_patterns: - - @@ -13,8 +13,8 @@ import_group: - id: ro mirror_from: https://raw.githubusercontent.com/INCATools/ontology-development-kit/master/tests/ontologies/ro.owl - id: pato - use_base: TRUE + use_base: true # This test cannot be easily replaced, because use_base and custom URL dont mix - id: pr - make_base: TRUE + make_base: true mirror_from: https://raw.githubusercontent.com/INCATools/ontology-development-kit/master/tests/ontologies/pr_slim.owl diff --git a/tests/test-components-make-base.yaml b/tests/test-components-make-base.yaml index 6bd6afd6..b1e908b9 100644 --- a/tests/test-components-make-base.yaml +++ b/tests/test-components-make-base.yaml @@ -22,6 +22,6 @@ components: base_iris: - http://purl.obolibrary.org/obo/PATO_ - http://purl.obolibrary.org/obo/pato# - make_base: True + make_base: true robot_java_args: '-Xmx8G' allow_equivalents: asserted-only diff --git a/tests/test-components.yaml b/tests/test-components.yaml index e837f405..4775f799 100644 --- a/tests/test-components.yaml +++ b/tests/test-components.yaml @@ -3,7 +3,7 @@ title: "Test Components Ontology" github_org: obophenotype repo: components report_fail_on: ERROR -use_dosdps: TRUE +use_dosdps: true dosdp_tools_options: "--obo-prefixes=true --restrict-axioms-to=logical" release_artefacts: - base diff --git a/tests/test-import-minimal.yaml b/tests/test-import-minimal.yaml index bab11c64..3624df87 100644 --- a/tests/test-import-minimal.yaml +++ b/tests/test-import-minimal.yaml @@ -24,8 +24,8 @@ components: robot_java_args: '-Xmx8G' robot_report: fail_on : ERROR - use_labels : False - custom_profile : True + use_labels : false + custom_profile : true report_on : - edit custom_sparql_checks : [] diff --git a/tests/test-module-minimal-large.yaml b/tests/test-module-minimal-large.yaml index b0fa64a4..0db9cb2f 100644 --- a/tests/test-module-minimal-large.yaml +++ b/tests/test-module-minimal-large.yaml @@ -12,6 +12,6 @@ import_group: - id: ro mirror_from: https://raw.githubusercontent.com/INCATools/ontology-development-kit/master/tests/ontologies/ro.owl - id: pato - is_large: TRUE + is_large: true module_type: minimal diff --git a/tests/test-module-star.yaml b/tests/test-module-star.yaml index 3934332c..ef317f2f 100644 --- a/tests/test-module-star.yaml +++ b/tests/test-module-star.yaml @@ -16,6 +16,6 @@ import_group: module_type: slme module_type_slme: STAR slme_individuals: exclude - release_imports: False - create_obo_metadata: False + release_imports: false + create_obo_metadata: false diff --git a/tests/test-non-import-release.yaml b/tests/test-non-import-release.yaml index 39590678..7b413289 100644 --- a/tests/test-non-import-release.yaml +++ b/tests/test-non-import-release.yaml @@ -9,9 +9,9 @@ release_artefacts: - baselite - base primary_release: base -release_use_reasoner: FALSE +release_use_reasoner: false import_group: - release_imports: TRUE + release_imports: true products: - id: ro mirror_from: https://raw.githubusercontent.com/INCATools/ontology-development-kit/master/tests/ontologies/ro.owl diff --git a/tests/test-patterns.yaml b/tests/test-patterns.yaml index 20306f97..c95e654c 100644 --- a/tests/test-patterns.yaml +++ b/tests/test-patterns.yaml @@ -3,7 +3,7 @@ title: "Pattern Test Ontology" github_org: obophenotype repo: ptt report_fail_on: ERROR -use_dosdps: TRUE +use_dosdps: true export_formats: - owl - obo diff --git a/tests/test-release-format-patterns.yaml b/tests/test-release-format-patterns.yaml index 68a1db2e..f1a22ebd 100644 --- a/tests/test-release-format-patterns.yaml +++ b/tests/test-release-format-patterns.yaml @@ -3,7 +3,7 @@ title: "Release Test C Ontology" github_org: obophenotype repo: rtc report_fail_on: ERROR -use_dosdps: TRUE +use_dosdps: true namespaces: - http://purl.obolibrary.org/obo/PTT_ - http://purl.obolibrary.org/obo/PATO_ diff --git a/tests/test-release-imports-not-edit.yaml b/tests/test-release-imports-not-edit.yaml index d2c868a0..7fe80e05 100644 --- a/tests/test-release-imports-not-edit.yaml +++ b/tests/test-release-imports-not-edit.yaml @@ -2,7 +2,7 @@ id: rtine title: "Release Test Non Edit Import Ontology" github_org: INCATools repo: rtine -use_edit_file_imports: TRUE +use_edit_file_imports: true namespaces: - http://purl.obolibrary.org/obo/PTT_ - http://purl.obolibrary.org/obo/PATO_ @@ -15,7 +15,7 @@ release_artefacts: - base - baselite import_group: - release_imports: TRUE + release_imports: true products: - id: ro mirror_from: https://raw.githubusercontent.com/INCATools/ontology-development-kit/master/tests/ontologies/ro.owl diff --git a/tests/test-release-materialise.yaml b/tests/test-release-materialise.yaml index b03b7966..4ccfcc73 100644 --- a/tests/test-release-materialise.yaml +++ b/tests/test-release-materialise.yaml @@ -13,7 +13,7 @@ release_artefacts: - base primary_release: base import_group: - release_imports: TRUE + release_imports: true products: - id: ro mirror_from: https://raw.githubusercontent.com/INCATools/ontology-development-kit/master/tests/ontologies/ro.owl diff --git a/tests/test-release.yaml b/tests/test-release.yaml index 31052715..0a57fa25 100644 --- a/tests/test-release.yaml +++ b/tests/test-release.yaml @@ -3,7 +3,7 @@ title: "Release Test A Ontology" github_org: obophenotype repo: rta report_fail_on: ERROR -release_diff: FALSE +release_diff: false namespaces: - http://purl.obolibrary.org/obo/PTT_ - http://purl.obolibrary.org/obo/PATO_ @@ -17,7 +17,7 @@ release_artefacts: - baselite primary_release: simple import_group: - release_imports: TRUE + release_imports: true products: - id: ro mirror_from: https://raw.githubusercontent.com/INCATools/ontology-development-kit/master/tests/ontologies/ro.owl diff --git a/tests/test-robot-report-baseiri.yaml b/tests/test-robot-report-baseiri.yaml index 472adfa4..445f8921 100644 --- a/tests/test-robot-report-baseiri.yaml +++ b/tests/test-robot-report-baseiri.yaml @@ -12,11 +12,11 @@ import_group: - 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 + use_base_iris: true + release_reports: true fail_on : ERROR - use_labels : False - custom_profile : True + use_labels : false + custom_profile : true report_on : - edit custom_sparql_checks : [] diff --git a/tests/test-robot-report.yaml b/tests/test-robot-report.yaml index e04edf47..c07ecb4b 100644 --- a/tests/test-robot-report.yaml +++ b/tests/test-robot-report.yaml @@ -18,10 +18,10 @@ import_group: - id: omo mirror_from: https://raw.githubusercontent.com/INCATools/ontology-development-kit/master/tests/ontologies/omo.owl robot_report: - release_reports: True + release_reports: true fail_on : ERROR - use_labels : False - custom_profile : True + use_labels : false + custom_profile : true report_on : - edit custom_sparql_checks : [] diff --git a/tests/test-robot-validate-profile.yaml b/tests/test-robot-validate-profile.yaml index a8d0e874..27ead7e3 100644 --- a/tests/test-robot-validate-profile.yaml +++ b/tests/test-robot-validate-profile.yaml @@ -10,11 +10,11 @@ import_group: - id: ro mirror_from: https://raw.githubusercontent.com/INCATools/ontology-development-kit/master/tests/ontologies/ro.owl robot_report: - release_reports: True + release_reports: true fail_on : ERROR - use_labels: False - custom_profile: True - ensure_owl2dl_profile: True + use_labels: false + custom_profile: true + ensure_owl2dl_profile: true report_on: - edit custom_sparql_checks : [] diff --git a/tests/test-sparql-report.yaml b/tests/test-sparql-report.yaml index 2e0834b2..5bbabe63 100644 --- a/tests/test-sparql-report.yaml +++ b/tests/test-sparql-report.yaml @@ -13,10 +13,10 @@ import_group: - id: ro mirror_from: https://raw.githubusercontent.com/INCATools/ontology-development-kit/master/tests/ontologies/ro.owl robot_report: - release_reports: True + release_reports: true fail_on : ERROR - use_labels : False - custom_profile : True + use_labels : false + custom_profile : true sparql_test_on: - edit - rrcs-base.owl diff --git a/tests/test-sssom.yaml b/tests/test-sssom.yaml index ee7c8be3..bcd2a62d 100644 --- a/tests/test-sssom.yaml +++ b/tests/test-sssom.yaml @@ -2,7 +2,7 @@ id: sssomo title: "Test Ontology for basic mapping management" github_org: INCATools repo: sssomo -use_mappings: TRUE +use_mappings: true export_formats: - owl import_group: @@ -22,7 +22,7 @@ sssom_mappingset_group: components: products: - filename: test-with-sssom.owl - use_mappings: TRUE + use_mappings: true mappings: - modmini-onta.sssom.tsv - modmini-ontd.sssom.tsv diff --git a/tests/test-templates.yaml b/tests/test-templates.yaml index 7a5b4ca7..7caa7ca2 100644 --- a/tests/test-templates.yaml +++ b/tests/test-templates.yaml @@ -2,7 +2,7 @@ id: ttt title: "Template Test Ontology" github_org: INCATools repo: ttt -use_templates: TRUE +use_templates: true export_formats: - owl import_group: @@ -12,10 +12,10 @@ import_group: components: products: - filename: test-with-context.owl - use_template: TRUE + use_template: true template_options: "--add-prefixes config/context.json" - filename: test-with-templates.owl - use_template: TRUE + use_template: true templates: - template1.tsv - template2.tsv \ No newline at end of file