From 933f1433a39f8df8f206574e5d0671c0d17bd640 Mon Sep 17 00:00:00 2001 From: Jesper Friis Date: Thu, 14 Mar 2024 00:58:15 +0100 Subject: [PATCH] Updated list of IRIs to ignore when looking for labels. --- emmopy/emmocheck.py | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/emmopy/emmocheck.py b/emmopy/emmocheck.py index 1df5ca8b7..db177de82 100644 --- a/emmopy/emmocheck.py +++ b/emmopy/emmocheck.py @@ -73,17 +73,30 @@ def test_number_of_labels(self): """ exceptions = set( ( - "terms.license", + "0.1.homepage", # foaf:homepage + "0.1.logo", + "0.1.page", + "0.1.name", + "bibo:doi", + "core.altLabel", + "core.hiddenLabel", + "core.prefLabel", "terms.abstract", + "terms.alternative", + "terms:bibliographicCitation", "terms.contributor", + "terms.created", "terms.creator", + "terms.hasFormat", + "terms.identifier", + "terms.issued", + "terms.license", + "terms.modified", "terms.publisher", + "terms.source", "terms.title", - "core.prefLabel", - "core.altLabel", - "core.hiddenLabel", - "foaf.logo", - "0.1.logo", # foaf.logo + "vann:preferredNamespacePrefix", + "vann:preferredNamespaceUri", ) ) exceptions.update(