Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix full_url to correctly save as a url #16

Open
bxk334 opened this issue Aug 31, 2019 · 0 comments
Open

Fix full_url to correctly save as a url #16

bxk334 opened this issue Aug 31, 2019 · 0 comments

Comments

@bxk334
Copy link
Contributor

bxk334 commented Aug 31, 2019

ecg/ecg/jgi.py

Line 122 in d014942

full_url = self.homepage_url+html_suffix

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant