MTgeophysics / mtpy

Python toolbox for standard Magnetotelluric (MT) data analysis
GNU General Public License v3.0
147 stars 66 forks source link

gis_tools.py failed unittesting #29

Closed zhang01GA closed 6 years ago

zhang01GA commented 6 years ago

Recent changes to mtpy/utils/gis_tools.py has been failing unit tests

Possible Solution

Debug the gis_tools.py or check and modify the test script tests/utils/test_gis_tools.py

Steps to Reproduce (for bugs)

<u25656@PC-62907 MINGW32 /e/Githubz/mtpy (develop) $ export GDAL_DATA=/c/Anaconda2/Library/share/gdal

u25656@PC-62907 MINGW32 /e/Githubz/mtpy (develop) $ py.test.exe tests/utils/test_gis_tools.py

geojunky commented 6 years ago

I've just pushed a fix to both test_gis_tools.py and gis_tools.py, which should resolve this issue.

geojunky commented 6 years ago

Done.