-
Notifications
You must be signed in to change notification settings - Fork 5
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
Support new KB API corpus changesCorpus KB API changes #248
Conversation
I think there is a problem with Lines 54 to 59 in f2d05de
Lines 70 to 76 in 5ac0f17
|
There are I think only two ways to fix this:
Having 2 would be nice. But one could consider 1 to be a first step in that direction by allowing |
BTW is the following still true? I thought not? Lines 66 to 67 in 5ac0f17
|
Based on the new Blame says this commit was added via 330fc7d. I read through the referenced issues but am unsure what might have been the source of this code. Perhaps phenoscape/phenoscape-kb-services#146 (comment). |
@johnbradley are you still working on this? It looks ready to merge? |
@hlapp I think the code is good now, but the documentation still needs work. |
@hlapp Could you take a look at updating the documentation for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks all ready to go to me, and docs should now be good. Tests pass for me on local.
@hlapp Are you good with me merging the commits as they are or should I rebase/squash them? |
Let's leave the commits, I think most of them make sense on their own. |
phenoscape_api() now defaults to https://dev.phenoscape.org/api/v2-beta
Fixes anatomy_ontology_iris to exclude PATO and ZP from the results. Fixes #246
Removes sampling that occasionally caused failures implementing fix suggested here: #235 (comment) Fixes #246
The new API now returns classification for terminfo. Fixes tests to accommodate this change.
Removes limitation on only passing "phenotype" for `as`. Users can now pass "entity" as well. User may still pass in a vector matching the same length as the input IRIs, but they must be all the same value for now.
fd44100
to
a9659db
Compare
Changes
phenoscape_api()
to returnhttps://dev.phenoscape.org/api/v2-beta
.Fixes issue with
anatomy_ontology_iris()
returning PATO, and ZP.Fixes errors with Resnik simlarity by removing sampling that occasionally caused problems.
Updates tests now that the KB API returns classification data in term info response.
Adds "states" to the
corpus
parameter forcorpus_size()
andterm_freqs()
.Fixes #243
Fixes #245
Fixes #246