aiddata / geo-datasets

Scripts for preparing datasets in GeoQuery
http://geoquery.org
MIT License
20 stars 11 forks source link

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

Closed jacobwhall closed 1 year ago

jacobwhall commented 1 year ago

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

jacobwhall commented 1 year ago

:rocket: