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

pysradb download doesn't work[BUG] #155

Closed
mzavolan opened this issue Mar 14, 2022 · 3 comments
Closed

pysradb download doesn't work[BUG] #155

mzavolan opened this issue Mar 14, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@mzavolan
Copy link

Description
I am trying to run the example mentioned in the documentation, but it does not work. The first message I get is:

The supplied url column "None" cannot be found.

Then I list of urls is produced that looks like this:

run_accession study_accession experiment_accession recommended_url
SRR057533 SRP002605 SRX021977 https://sra-downloadb.st-va.ncbi.nlm.nih.gov/sos2/sra-pub-run-3/SRR057533/SRR057533.2
...

and I am asked

Use recommended_url instead? [Y/n]:

I choose y and I end up getting the following type of errors:

Checking download URLs
Key error for: https://sra-downloadb.st-va.ncbi.nlm.nih.gov/sos2/sra-pub-run-3/SRR057533/SRR057533.2
...

What I did
pysradb download -p SRP002605

Using additionally the -y option gives the same error.

Desktop :

  • OS: MacOS Monterey version 12.0.1
  • Python version 3.9
  • pysradb version 1.3
@mzavolan mzavolan added the bug Something isn't working label Mar 14, 2022
@saketkc
Copy link
Owner

saketkc commented Mar 14, 2022

Sorry, I am aware that one of the recent commits broke this functionality. I will try to have a fix soon. Apologies.

@mzavolan
Copy link
Author

Thanks @saketkc for the fast answer. Any indication of the time frame when you would be able to look at the issue?

@saketkc
Copy link
Owner

saketkc commented Mar 16, 2022

this has been fixed on the main branch. However the notebook example no longer works (because all the files have been moved to s3). Here's an alternate example:

 $ pysradb download -p SRP312633 

I will close this now, feel free to reopen if there are any other issues.

@saketkc saketkc closed this as completed Mar 16, 2022
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