Skip to content

Commit be670fa

Browse files
Jammy2211Jammy2211
authored andcommitted
remove print statements
1 parent 7d258ce commit be670fa

File tree

3 files changed

+0
-17
lines changed

3 files changed

+0
-17
lines changed

test_autoarray/inversion/inversion/test_abstract.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,8 +235,6 @@ def test__curvature_reg_matrix_reduced():
235235
linear_obj_list=linear_obj_list, curvature_reg_matrix=curvature_reg_matrix
236236
)
237237

238-
print(inversion.curvature_reg_matrix_reduced)
239-
240238
assert (
241239
inversion.curvature_reg_matrix_reduced == np.array([[1.0, 2.0], [4.0, 5.0]])
242240
).all()

test_autoarray/inversion/inversion/test_factory.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -389,15 +389,6 @@ def test__inversion_imaging__linear_obj_func_with_sparse_operator(
389389
assert inversion_mapping.data_vector == pytest.approx(
390390
inversion_sparse_operator.data_vector, 1.0e-4
391391
)
392-
<<<<<<< HEAD
393-
print(inversion_mapping.curvature_matrix[0,2])
394-
print(inversion_mapping.curvature_matrix[0,3])
395-
print(inversion_w_tilde.curvature_matrix[0,2])
396-
print(inversion_w_tilde.curvature_matrix[0,3])
397-
ffff
398-
=======
399-
400-
>>>>>>> a655bb9e4603df17c8ff7f8d20459bb36fa03c5a
401392
assert inversion_mapping.curvature_matrix == pytest.approx(
402393
inversion_sparse_operator.curvature_matrix, 1.0e-4
403394
)

test_autoarray/inversion/regularizations/test_regularization_util.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -238,9 +238,6 @@ def test__weighted_regularization_matrix_from():
238238
neighbors=neighbors,
239239
)
240240

241-
print(regularization_matrix)
242-
print(test_regularization_matrix)
243-
244241
assert regularization_matrix == pytest.approx(test_regularization_matrix, 1.0e-4)
245242

246243
# Here, we define the neighbors first here and make the B matrices based on them.
@@ -272,9 +269,6 @@ def test__weighted_regularization_matrix_from():
272269
neighbors=neighbors,
273270
)
274271

275-
print(regularization_matrix)
276-
print(test_regularization_matrix)
277-
278272
assert regularization_matrix == pytest.approx(test_regularization_matrix, 1.0e-4)
279273

280274
b_matrix_1 = np.array([[-1, 1, 0, 0], [0, -1, 1, 0], [0, 0, -1, 1], [1, 0, 0, -1]])

0 commit comments

Comments
 (0)