ncats / bard

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

ML# not returned by REST API #13

Closed jerilevine closed 12 years ago

jerilevine commented 12 years ago

Have a look at

http://bard.nih.gov/api/v7/exptdata/121.87235992

These are results for ML#118 (CID 44552613), but the specific ML# is not coming back.

rajarshi commented 12 years ago

I don't think this is really wrong - the exptdata resource is meant to display assay results (ie readouts) and if you append .0 to the above URL you'll see that there are no results. I suppose one could argue that the 'value' of 'ML118' is the result, but I think that's a stretch.

The ML number for a CID is always available from the compounds resource http://bard.nih.gov/api/v7/compounds/44552613

jerilevine commented 12 years ago

Thanks, Raj. I agree that it probably is a stretch to call the ML# a result. I'll get back to the other devs here and see whether we can just grab the ML# from the compounds resource, as you suggested.

rajarshi commented 12 years ago

If you think this is an acceptable solution, can you close this issue?