guma44 / GEOparse

Python library to access Gene Expression Omnibus Database (GEO)
BSD 3-Clause "New" or "Revised" License
137 stars 51 forks source link

UnboundLocalError while trying the example from documentation #65

Open sowmyamanojna opened 3 years ago

sowmyamanojna commented 3 years ago

Thank you for the package. I am quite new to GEOparse and have been trying to figure out the basics of the package. I tried to implement the initial example provided on the documentation and get an Unbound Local Error. The screenshot of the same is as follows: image

Python Version: 3.8.5 GEOparse Version: 2.0.2

Any leads about how to overcome this problem would be really helpful. Thanks!

guma44 commented 3 years ago

Hi @sowmyamanojna, most probably the NCBI server changed something. Let me check it. Rafal

CholoTook commented 3 years ago

This works for me. Did you try simply: curl ftp://ftp.ncbi.nlm.nih.gov/geo/series/GSE1nnn/GSE1563/soft/GSE1563_family.soft.gz

If you can't see that file from your machine using curl, you have some kind of network error unrelated to GEOparse.