diff --git a/requirements.txt b/requirements.txt index ab625452e..ba0c9bb9a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -12,5 +12,3 @@ seaborn scikit_learn networkx==1.11 Ipython -pymc -pyevtk \ No newline at end of file diff --git a/test/test_tutorials/test_ch2.py b/test/test_tutorials/test_ch2.py index 8a5fd5a83..10f8c6d5b 100644 --- a/test/test_tutorials/test_ch2.py +++ b/test/test_tutorials/test_ch2.py @@ -24,7 +24,7 @@ # Aux imports import numpy as np - +import pytest def test_ch2(theano_f): # Importing the data from csv files and settign extent and resolution @@ -78,7 +78,7 @@ def test_ch2(theano_f): vertices, simplices = gp.get_surfaces(interp_data, lith_block[1], None, original_scale=False) - + pyevtk = pytest.importorskip("pyevtk") gp.export_to_vtk(geo_data, path=os.path.dirname(__file__)+'/vtk_files', lith_block=lith_block[0], vertices=vertices, simplices=simplices) # gp.plot_surfaces_3D_real_time(interp_data, vertices, simplices, alpha=1) diff --git a/test/test_tutorials/test_ch3.py b/test/test_tutorials/test_ch3.py index 22573c582..4d11988a4 100644 --- a/test/test_tutorials/test_ch3.py +++ b/test/test_tutorials/test_ch3.py @@ -28,9 +28,11 @@ #from ..conftest import theano_f input_path = os.path.dirname(__file__)+'/../../notebooks' - +import pytest +pymc = pytest.importorskip("pymc") def test_ch3_a(theano_f): + # set cube size and model extent cs = 50 extent = (3000, 200, 2000) # (x, y, z)