Skip to content

Commit eae9d05

Browse files
committed
[TEST] Moving some tests to a different folder and small changes
1 parent ec220ff commit eae9d05

File tree

6 files changed

+4
-3
lines changed

6 files changed

+4
-3
lines changed

gempy_engine/modules/kernel_constructor/_covariance_assembler.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616

1717
def get_covariance(c_o, dm, k_a, k_p_ref, k_p_rest, k_ref_ref, k_ref_rest, k_rest_ref, k_rest_rest, ki: KernelInput, options):
1818
cov_grad = _get_cov_grad(dm, k_a, k_p_ref, ki.nugget_grad)
19-
cov_sp = _get_cov_surface_points(dm, k_ref_ref, k_ref_rest, k_rest_ref, k_rest_rest, options, ki.nugget_scalar,
20-
ki.nugget_grad.shape[1]) # TODO: Add nugget effect properly (individual) # cov_sp += np.eye(cov_sp.shape[0]) * .00000001
19+
cov_sp = _get_cov_surface_points(dm, k_ref_ref, k_ref_rest, k_rest_ref, k_rest_rest,
20+
options, ki.nugget_scalar, ki.nugget_grad.shape[1]) # TODO: Add nugget effect properly (individual) # cov_sp += np.eye(cov_sp.shape[0]) * .00000001
2121
cov_grad_sp = _get_cross_cov_grad_sp(dm, k_p_ref, k_p_rest, options) # C
2222

2323
# Universal drift

tests/test_common/test_integrations/test_multi_fields.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
plot_pyvista = False
2828

2929

30-
plot_pyvista = True
30+
plot_pyvista = False
3131

3232
def test_extract_input_subsets(unconformity_complex):
3333
interpolation_input, options, input_descriptor = unconformity_complex

tests/test_common/test_modules/test_solvers/test_preconditioners.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ def kriging_eq(moureze_model):
3131
return A_matrix, b_vector, options.kernel_options
3232

3333

34+
@pytest.mark.skip(reason="Moureze model is not having a solution. I ran this code with Vector Model 1.")
3435
def test_jacobi(kriging_eq):
3536
cov, b, kernel_options = kriging_eq
3637
kernel_options.kernel_solver = Solvers.SCIPY_CG

0 commit comments

Comments
 (0)