Skip to content

Commit

Permalink
Updated list of IRIs to ignore when checking prefLabel (#731)
Browse files Browse the repository at this point in the history
Updated list of IRIs to ignore when checking prefLabel
  • Loading branch information
jesper-friis authored Mar 14, 2024
2 parents 7581c1c + 9ac0faf commit 91c20c5
Showing 1 changed file with 19 additions and 6 deletions.
25 changes: 19 additions & 6 deletions emmopy/emmocheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 91c20c5

Please sign in to comment.