ncats / bard

Sources for the BioAssay Research Database
Other
10 stars 2 forks source link

Dictionary value is null #39

Closed jasiedu closed 11 years ago

jasiedu commented 11 years ago

http://bard.nih.gov/api/v12/search/projects/?q=dna+repair&skip=0&top=10&expand=true

Ak_dict_label() is null

Should we be getting this information from somewhere else?

rajarshi commented 11 years ago

The idea is that annotations for an entity will not be in the primary entity response now. They should be accessed via the /annotations subresource. Thus in straw you should see no annotations in http://bard.nih.gov/api/straw/projects/176 but can be accessed at http://bard.nih.gov/api/straw/projects/176/annotations

As a result, the search JSON no longer provides the annotations (since it's meant to match the JSON you'd get from the actual entity)

(The search JSON needs to be updated to remove the fields such as go* which no longer occur in the entity itself)

jasiedu commented 11 years ago

Thanks Raj