You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have encountered a similar error when using pysradb metadata <accession list> --detailed > SRA_info.txt to query batches of multiple accessions at once: File "/home/[user]/.conda/envs/pySRAdb/lib/python3.11/site-packages/pysradb/sraweb.py", line 437, in sra_metadata exp_summary = exp_json["Summary"] ~~~~~~~~^^^^^^^^^^^ KeyError: 'Summary'
In this case the error is caused by inclusion of SRR8866477 in the accession list, presumably because the record is not public. It would be preferable to return a nan instead of an error here so that it would still be possible to query in batches even if not all keys are found for each query accession in the batch.
pysradb/pysradb/sraweb.py
Line 340 in 0286ba9
I can't reproduce this, but I had a random event of:
line numbers are off by one from the current repo, so I might be slightly behind on this error. Rerunning immediately after worked fine.
The text was updated successfully, but these errors were encountered: