ELIFE-ASU / ecg

Pulling information from biological databases, and converting it into easy to use gmls for network science.
MIT License
3 stars 2 forks source link

Fix full_url to correctly save as a url #16

Open bxk334 opened 5 years ago

bxk334 commented 5 years ago

https://github.com/ELIFE-ASU/ecg/blob/d01494213ca8c88501ff9af57fc0aa596d341447/ecg/jgi.py#L122

self.homepage_url is saved as a string "https://img.jgi.doe.gov/cgi-bin/m/main.cgi" with the quotation marks as default homepage url. This gives an error message. A temporary fix would be to replace with line below, though it hard codes the homepage url.

full_url = "https://img.jgi.doe.gov/cgi-bin/m/main.cgi{}".format(html_suffix)