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

Some terms expected to receive a label do not #161

Closed
hlapp opened this issue Feb 2, 2021 · 0 comments · Fixed by #162
Closed

Some terms expected to receive a label do not #161

hlapp opened this issue Feb 2, 2021 · 0 comments · Fixed by #162

Comments

@hlapp
Copy link
Member

hlapp commented Feb 2, 2021

The test failure is this:

── Failure (test-pk.R:131:3): labels for pre-generated post-comps ──────────────
sum(is.na(subs.l$label)) is not less than 1. Difference: 1

This while testing that labels for pre-generated post-comps work. The test that's failing obtains a subsumer matrix for "femur", subsamples the resulting subsumers (many of which are expected to be post-compositions), and tests whether for every one a label can be obtained. Some, though not all, CARO terms (which are not even post-compositions) fail because there they lack their label in the database.

See phenoscape/phenoscape-kb-services#378.

hlapp added a commit that referenced this issue Feb 2, 2021
Some ontologies, in particular apparently CARO, have labels for terms
in the database only inconsistently. This filters out subsumer terms
that are in those ontologies, and failed to obtain a label. What is
really being tested here are post-compositions, so this shouldn't affect
the subsumers that are post-comps (whether they fail to obtain a label
or not).

Fixes #161. See also phenoscape/phenoscape-kb-services#378.
@hlapp hlapp closed this as completed in #162 Feb 2, 2021
hlapp added a commit that referenced this issue Feb 2, 2021
Some ontologies, in particular apparently CARO, have labels for terms
in the database only inconsistently. This filters out subsumer terms
that are in those ontologies, and failed to obtain a label. What is
really being tested here are post-compositions, so this shouldn't affect
the subsumers that are post-comps (whether they fail to obtain a label
or not).

Fixes #161. See also phenoscape/phenoscape-kb-services#378.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant