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

Different error messages for invalid OpenNeuro dataset name or version, and for those not yet deployed on Github #286

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

MontrealSergiy
Copy link
Contributor

@MontrealSergiy MontrealSergiy commented Jun 16, 2024

Sometimes in OpenNeuro the most recent versions is not represented by any tag in the corresponding GitHub repository, for example [ds003194 v1.0.4] (https://openneuro.org/datasets/ds003194/versions/1.0.4 ) updated 2022-09-20 while the corresponding Github repo was last updated in 2020 and end with tag 1.0.3 . There is at least another dataset with same glitch, ds003075. More, some OpenNeuro datasets do not have a single version on GitHub: see the OpenNeuro issue #3037 that tracks datasets not present on GitHub.

The present message is same for both cases of mistypes version and one that is not yet present on OpenNeuro.

This PR aims to give more appropriate message for both cases.

It seems like a OpenNeuro glitch, which we should escalate to their team, but OpenNeuro 'name and version' this issues may persist for a while.

To actually allows admin to download and configure dataset on alternative github organization/username see another PR #287

Note I downloaded v.1.0.4 using OpenNeuro client, and created my version of the DataLad repo at https://github.com/MontrealSergiy/ds003194

@MontrealSergiy MontrealSergiy changed the title Openneuro graphql Use Openneuro GraphQL to check dataset availability on OpenNeuro rather than their GitHub folder Jun 17, 2024
@MontrealSergiy
Copy link
Contributor Author

Screenshot from 2024-06-18 14-01-27

@MontrealSergiy MontrealSergiy changed the title Use Openneuro GraphQL to check dataset availability on OpenNeuro rather than their GitHub folder Different error messages for invalid OpenNeuro dataset name or version, and for those not yet deployed on Github Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant