Skip to content

Commit 22417ad

Browse files
committed
add model_type=None for one conductivity and one potential field runtest to check that logic works with None
1 parent 9e923f8 commit 22417ad

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

tests/run_tests/driver_dc_test.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ def test_dc_3d_fwr_run(
7878
mesh=components.mesh,
7979
topography_object=components.topography,
8080
data_object=components.survey,
81+
model_type=None,
8182
starting_model=components.model,
8283
)
8384
fwr_driver = DC3DForwardDriver(params)
@@ -104,6 +105,7 @@ def test_dc_3d_run(
104105
mesh=components.mesh,
105106
topography_object=components.topography,
106107
data_object=potential.parent,
108+
model_type=None,
107109
starting_model=1e-2,
108110
reference_model=1e-2,
109111
s_norm=0.0,

tests/run_tests/driver_grav_test.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ def test_gravity_fwr_run(
6868
geoh5=geoh5,
6969
mesh=components.mesh,
7070
topography_object=components.topography,
71+
model_type=None,
7172
data_object=components.survey,
7273
starting_model=components.model,
7374
gz_channel_bool=True,
@@ -142,6 +143,7 @@ def test_gravity_run(
142143
params = GravityInversionOptions.build(
143144
geoh5=geoh5,
144145
mesh=components.mesh,
146+
model_type=None,
145147
data_object=gz.parent,
146148
s_norm=0.0,
147149
x_norm=gradient_norms,

0 commit comments

Comments
 (0)