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

Add conda env and $TMPDIR checks to Dataset class #155

Merged
merged 2 commits into from
Feb 13, 2023

Conversation

jacobwhall
Copy link
Member

Adds a _check_env_and_run() function to Dataset class that checks whether the user is using the correct Conda environment and has their $TMPDIR set correctly. These are mistakes I often make when running dataset scripts, so logging warnings will help correct mistakes more quickly in future runs.

This PR seeks to address #154

global_scripts/dataset.py Outdated Show resolved Hide resolved
@jacobwhall
Copy link
Member Author

🚀

@sgoodm sgoodm merged commit ef3979f into aiddata:develop Feb 13, 2023
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

Successfully merging this pull request may close these issues.

2 participants