File tree Expand file tree Collapse file tree
simpeg_drivers/potential_fields/magnetic_vector Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -140,6 +140,7 @@ def validate_lower_bound(self):
140140 warn (
141141 "Parameter 'lower_bound' for Magnetic Vector Inversion has been deprecated. "
142142 "Defaulting to the negative value of 'upper_bound'." ,
143+ DeprecationWarning ,
143144 stacklevel = 1 ,
144145 )
145146 self .lower_bound = None
Original file line number Diff line number Diff line change @@ -168,7 +168,8 @@ def test_magnetic_vector_bounds_run(
168168 # Run the inverse
169169 active_cells = ActiveCellsOptions (topography_object = topography )
170170 with warns (
171- UserWarning , match = "Parameter 'lower_bound' for Magnetic Vector Inversion"
171+ DeprecationWarning ,
172+ match = "Parameter 'lower_bound' for Magnetic Vector Inversion" ,
172173 ):
173174 params = MVIInversionOptions (
174175 geoh5 = geoh5 ,
You can’t perform that action at this time.
0 commit comments