Skip to content

Commit 82303b8

Browse files
committed
Update test parameters and fix geometry IDs in fixtures
Increased `n_oct_levels` to 5 and enabled 2D plotting in the fault model test to enhance visualization and model evaluation. Expanded geometry ID array in fixtures to include an additional ID for better coverage of test cases.
1 parent 0e6db36 commit 82303b8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/fixtures/complex_geometries.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def one_fault_model():
3535

3636
spi: SurfacePoints = SurfacePoints(sp_coords)
3737
ori: Orientations = Orientations(dip_postions, dip_gradients)
38-
ids = np.array([1, 2, 3, 4, 5, 6])
38+
ids = np.array([1, 2, 3, 4, 5, 6, 7])
3939

4040
resolution = [2, 2, 2]
4141
extent = np.array([-500, 500., -500, 500, -450, 550]) / rescaling_factor

tests/test_common/test_api/test_faults/test_one_fault.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
from gempy_engine.plugins.plotting.helper_functions import plot_block_and_input_2d, plot_scalar_and_input_2d
2222

2323

24-
def test_one_fault_model(one_fault_model, n_oct_levels=3):
24+
def test_one_fault_model(one_fault_model, n_oct_levels=5):
2525
interpolation_input: InterpolationInput
2626
structure: InputDataDescriptor
2727
options: InterpolationOptions
@@ -44,7 +44,7 @@ def test_one_fault_model(one_fault_model, n_oct_levels=3):
4444
gempy_v2_cov = _covariance_for_one_fault_model_from_gempy_v2()
4545
diff = last_cov - gempy_v2_cov
4646

47-
if plot_2d := False:
47+
if plot_2d := True:
4848
_plot_stack_raw(interpolation_input, outputs, structure)
4949
_plot_stack_squeezed_mask(interpolation_input, outputs, structure)
5050
_plot_stack_mask_component(interpolation_input, outputs, structure)

0 commit comments

Comments
 (0)