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

/data_objects/study/{study_id} endpoint does not return all of the data objects it used to #850

Closed
bmeluch opened this issue Dec 18, 2024 · 0 comments · Fixed by #851
Closed
Labels
bug Something isn't working

Comments

@bmeluch
Copy link

bmeluch commented Dec 18, 2024

Describe the bug

The "Find data objects for study" endpoint is not returning the same results as it was two weeks ago for study nmdc:sty-11-aygzgv51. It appears to only be returning raw data dobj records and no processed data records.

Tested using:

Last time I ran this query I was able to identify 33 biosamples with processed data dobj records with data_object_type = GC-MS Metabolomics Results, Annotation Enzyme Commission, or Annotation KEGG Orthology. Now there are none, and it doesn't look like other processed data types are present either.

To Reproduce

Steps to reproduce the behavior:

  1. Retrieve JSON from https://api.microbiomedata.org/data_objects/study/nmdc%3Asty-11-aygzgv51
  2. Search for records with data_object_type = GC-MS Metabolomics Results, Annotation Enzyme Commission, or Annotation KEGG Orthology
  3. They are not there :(

Expected behavior

I expected to see processed data records for this study as well as raw data records.

Acceptance Criteria

  • The "Find data objects for study" endpoint returns processed data records
  • Specifically, it returns 33 biosamples with processed data records with the types listed above for nmdc:sty-11-aygzgv51

See also

#723
@aclum @sujaypatil96

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant