AlexsLemonade / AlexsLemonade/refinebio

Organism endpoint's `has_compendia` always returns `null`

Open
#2,885 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
135
Forks
21
PR merge metrics
No merged PRs in 30d

Description

### Context

Was doing some poking at the API trying to figure something out for the cron job tests.

### Problem or idea

```
$ curl -s https://api.refine.bio/v1/organisms/HOMO_SAPIENS/ | jq
{
"name": "HOMO_SAPIENS",
"taxonomy_id": 9606,
"has_compendia": null,
"has_quantfile_compendia": null
}
```
but we definitely have a human compendia.

### Solution or next step

Look at the API view and see what's up. I have a feeling that there is a query issue.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the response from the `/v1/organisms/HOMO_SAPIENS/` endpoint and inspect the API view and its query, as suggested in the issue. Trace why `has_compendia` and `has_quantfile_compendia` serialize as `null` despite the reported human compendia. Done means the endpoint returns the correct non-null values for human organisms.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.