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

Make sure output directory is an absolute path in downloader.py #625

Merged
merged 1 commit into from
Feb 8, 2021

Conversation

bhilbert4
Copy link
Collaborator

Resolves #623

Adds some calls to os.path to be sure that the directory input into downloader.py is an absolute path. Environment variables are expanded, tildes are expanded, and abspath() takes care of cases where a relative path is given.

@bhilbert4 bhilbert4 self-assigned this Feb 5, 2021
@bhilbert4 bhilbert4 merged commit f6d8bdd into spacetelescope:master Feb 8, 2021
@bhilbert4 bhilbert4 deleted the downloader-outdir branch February 8, 2021 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make output directory more robust in Downloader.py
1 participant