monarch-initiative / monarch-legacy

Monarch web application and API
BSD 3-Clause "New" or "Revised" License
42 stars 37 forks source link

add non-matching phenotypes to getSimilarModels #406

Open nlwashington opened 10 years ago

nlwashington commented 10 years ago

need to add non-matching phenotypes to the api function call for getSimilarModels.

@cmungall can you comment on what you think the json should look like? because the current blob is a bunch of triples like (query,target,lcs), would i just add another object that is an arrary of targets with their unmatched phenotypes?

cmungall commented 10 years ago

Which API call is this? At the java level?

I think in general our calls through return an envelope with top level

 unmatches: [...]
 matched: [...]
 results: [...]

This may require some refactoring where the assumption is that a list is always returned