spencerahill / aospy

Python package for automated analysis and management of gridded climate data
Apache License 2.0
83 stars 12 forks source link

Get rid of dask warning; always delete test output files #288

Closed spencerahill closed 6 years ago

spencerahill commented 6 years ago

dask.set_options -> dask.config.set as of dask version 0.18. I've made this conditional on the dask version. Alternatively we could just bump the minimum version to 0.18 so not have to deal with the version-checking logic.

Also, apologies for the 2-in-1, delete output of new tests from #287, as we do with other calc tests.

spencerahill commented 6 years ago

Thanks @spencerkclark. I had seen their use of LooseVersion before but I had assumed it was a 3rd party package...that's great that it's standard library.