MTgeophysics / mtpy

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

Resolved the issue of topoval value to the list elements #42

Closed sudhirJain closed 6 years ago

sudhirJain commented 6 years ago

corrected mtpy/modelling/modem/data.py for successful build.

sudhirJain commented 6 years ago

mtpy/modelling/modem/data.py has been corrected for assignment of topoval values to list elements. Now the pytest for following works successfully;

pytest -s -v tests\modeling\ModEM\test_modem_inputfiles_builder.py

2018-02-27T13:01:46 - Data - INFO - Wrote ModEM data file to C:\dev\venv\satellite\mtpy\tests\temp\TestModemInputFilesBuilder\test_fun\ModEM_Data.dat Reading C:\dev\venv\satellite\mtpy\tests\temp\TestModemInputFilesBuilder\test_fun\ModEM_Model_File.rho 2018-02-27T13:01:47 - Covariance - INFO - Wrote covariance file to C:\dev\venv\satellite\mtpy\tests\temp\TestModemInputFilesBuilder\test_fun\covariance.cov Comparing C:\dev\venv\satellite\mtpy\examples\model_files\ModEM\ModEM_Data.dat and C:\dev\venv\satellite\mtpy\tests\temp\TestModemInputFilesBuilder\test_fun\ModEM_Data.dat: NO differences found. Comparing C:\dev\venv\satellite\mtpy\examples\model_files\ModEM\covariance.cov and C:\dev\venv\satellite\mtpy\tests\temp\TestModemInputFilesBuilder\test_fun\covariance.cov: NO differences found. Comparing C:\dev\venv\satellite\mtpy\examples\model_files\ModEM\ModEM_Model_File.rho and C:\dev\venv\satellite\mtpy\tests\temp\TestModemInputFilesBuilder\test_fun\ModEM_Model_File.rho: NO differences found. PASSED

======================================================================================================================================= 1 passed in 244.86 seconds =======================================================================================================================================

(mtpy) C:\dev\venv\satellite\mtpy> (mtpy) C:\dev\venv\satellite\mtpy> (mtpy) C:\dev\venv\satellite\mtpy>