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
Describe the bug
Failure of metadata on some SRA accessions when VALUE is not a key for value_x.
To Reproduce
$ pysradb metadata --detailed ERP009821Traceback (most recent call last): File "/code/external/pysradb/.venv/bin/pysradb", line 8, in <module> sys.exit(parse_args()) ^^^^^^^^^^^^ File "/code/external/pysradb/pysradb/cli.py", line 1173, in parse_args metadata( File "/code/external/pysradb/pysradb/cli.py", line 69, in metadata df = sradb.sra_metadata( ^^^^^^^^^^^^^^^^^^^ File "/code/external/pysradb/pysradb/sraweb.py", line 596, in sra_metadata value = value_x["VALUE"] ~~~~~~~^^^^^^^^^KeyError: 'VALUE'
Desktop (please complete the following information):
OS: Ubuntu 20.04
Python version 3.12
Additional context
pysradb version: clone at 35dbf24
The text was updated successfully, but these errors were encountered:
* pysradb/sraweb.py: adding a default None value when VALUE is not a key in the value_x dict; this works for the test case in issue #222
* Drop Python 3.7, 3.8
* Update release notes
* Update release notes
* Suppress ena search test
---------
Co-authored-by: Saket Choudhary <[email protected]>
Describe the bug
Failure of
metadata
on some SRA accessions whenVALUE
is not a key forvalue_x
.To Reproduce
Desktop (please complete the following information):
Additional context
pysradb version: clone at 35dbf24
The text was updated successfully, but these errors were encountered: