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

listing studies does not show all studies #1163

Open
sebffischer opened this issue Sep 21, 2022 · 1 comment
Open

listing studies does not show all studies #1163

sebffischer opened this issue Sep 21, 2022 · 1 comment
Labels

Comments

@sebffischer
Copy link

from openml import study

a = study.list_studies(size = 100)
len(a) 

gives me 2 run studies which is wrong

This has nothing to do with the python api because the same thing happens in R as well.

@PGijsbers
Copy link
Contributor

PGijsbers commented Nov 3, 2023

I looked at this, and it seems to be an issue with the state of the database. As a work-around, you can use the filter /status/in_preparation and it should show the other collections. I don't know from the top of my head which connectors allow you to add these filters.

@joaquinvanschoren Apparently all studies in the database are in_preparation (except 2 run studies and 2 task studies). When no status is specified, the REST API will default to filter on active (php). Do you know why these studies were not set to active?

edit: added v2 tag as the problem either independent of the REST API altogether, or can be resolved in the new API, depending on what actually is wrong. Either way it should stay on our radar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants