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

Unable to Download ir.datasets.wu2020(): JSONDecodeError #584

Open
QWDxxx opened this issue Dec 25, 2024 · 3 comments
Open

Unable to Download ir.datasets.wu2020(): JSONDecodeError #584

QWDxxx opened this issue Dec 25, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@QWDxxx
Copy link

QWDxxx commented Dec 25, 2024

I am currently learning to use Scirpy for single-cell and immune repertoire analysis, but I encountered an issue with data downloading while trying to reproduce the tutorial.
When attempting to load the wu2020 dataset using the function ir.datasets.wu2020(), the dataset fails to download, and the following error is raised:
JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Thank you in advance for your assistance, and I look forward to your guidance on resolving this issue!

@QWDxxx QWDxxx added the bug Something isn't working label Dec 25, 2024
@QWDxxx
Copy link
Author

QWDxxx commented Dec 25, 2024

import pooch
import pandas as pd
fname_bathymetry = pooch.retrieve(
    url="doi:10.6084/m9.figshare.22249894.v2",
    known_hash="md5:12c57c790f8a403751304c9de5a18cbf",
)

When I tried to download the dataset using the method provided on the Pooch official website, I encountered the following error:
ValueError: Invalid data repository 'doi.org'. To request or contribute support for this repository, please open an issue at https://github.com/fatiando/pooch/issues
Could this be due to a change in the URL? How can I download the currently available example dataset? Looking forward to your reply. Thank you!

@grst
Copy link
Collaborator

grst commented Dec 26, 2024

I can't reproduce this and certainly nothing has changed on our end. Could this just be a temporary issue with doi.org or figshare? Or possibly you have very old version of pooch installed?

In any case, if nothing else works, you can download the files manually from figshare:
https://figshare.com/articles/dataset/scirpy_example_datasets_for_v0_13/22249894/2?file=49884129

@QWDxxx
Copy link
Author

QWDxxx commented Dec 26, 2024

I can't reproduce this and certainly nothing has changed on our end. Could this just be a temporary issue with doi.org or figshare? Or possibly you have very old version of pooch installed?

In any case, if nothing else works, you can download the files manually from figshare: https://figshare.com/articles/dataset/scirpy_example_datasets_for_v0_13/22249894/2?file=49884129

Thank you so much for your help~ it allows me to keep learning😊
and merry christmas!

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
Development

No branches or pull requests

2 participants