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

[BUG] layout reported as @xmlns #64

Closed Maarten-vd-Sande closed 4 years ago

Maarten-vd-Sande commented 4 years ago

Describe the bug Looking up the layout of sample GSM1013144 reports a layout of @xmlns.

My guess would be that the xml is parsed incorrectly: https://www.w3schools.com/tags/att_html_xmlns.asp

The SRA entry namely is single-ended: https://www.ncbi.nlm.nih.gov/sra?term=GSM1013144

To Reproduce

import pysradb
db = pysradb.SRAweb()
db.sra_metadata("GSM1013144")
saketkc commented 4 years ago

fixed via #65