saketkc / pysradb

Package for fetching metadata and downloading data from SRA/ENA/GEO
https://saketkc.github.io/pysradb
BSD 3-Clause "New" or "Revised" License
307 stars 50 forks source link

Some problem with errors in `pysradb metadata` #148

Closed jbloom closed 2 years ago

jbloom commented 2 years ago

Using pysradb version 1.1.0, the following command run in a Python interpreter session kills the entire session rather than raising an exception:

>>> import pysradb
>>> db = pysradb.sraweb.SRAweb()
>>> accession = 'SRR13441704'
>>> df = db.sra_metadata(accession, detailed=True)
No results found for SRR13441704
saketkc commented 2 years ago

Thanks, it is indeed not what I think it should be doing. This should be addressed by #149 and is now in pysradb 1.2.0.