Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong label if multiple labels are provided #556

Closed
marioscrock opened this issue Sep 7, 2022 · 1 comment · Fixed by #619
Closed

Wrong label if multiple labels are provided #556

marioscrock opened this issue Sep 7, 2022 · 1 comment · Fixed by #619
Assignees
Labels
bug pressing Will fix issue in next release
Milestone

Comments

@marioscrock
Copy link
Contributor

Describe the bug
A label with duplicated text is generated if both rdfs:label and skos:prefLabel are used. I assume the same error would happen if obo:IAO_0000118 is provided.

Expected behavior
I solved the issue by changing the extraction.xsl file and removing skos:prefLabel, however a better solution should be found to keep the or condition and do not add the duplicated text (select only one label if multiple labels are provided).

Screenshots
duplicated label

@marioscrock marioscrock changed the title Wrong label if rdfs:label and skos:prefLabel are used Wrong label if multiple labels are provided Sep 7, 2022
@dgarijo
Copy link
Owner

dgarijo commented Sep 7, 2022

I think this is the first time I see someone having an issue due to too many annotations :)
You are correct, an OR is needed (or similar).

@dgarijo dgarijo added the bug label Sep 7, 2022
@dgarijo dgarijo self-assigned this Sep 7, 2022
@dgarijo dgarijo added this to the v1.4.18 milestone Sep 7, 2022
@dgarijo dgarijo added the pressing Will fix issue in next release label Aug 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug pressing Will fix issue in next release
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants