Skip to content

Commit

Permalink
Remove print statements
Browse files Browse the repository at this point in the history
Remove the test_singularity_dop print statements now that the tests are passing.
  • Loading branch information
danineamati authored Aug 15, 2024
1 parent 7f4d516 commit aad7449
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/utils/test_dop.py
Original file line number Diff line number Diff line change
Expand Up @@ -413,12 +413,12 @@ def test_singularity_dop(navdata):
# Note: we use np.any() since we can get small values in the DOP matrix
# even if singular (i.e., in the off-diagonal entries).
dop_mat = dop_dict['dop_matrix']
print("1 (singularity flag not raised): DOP matrix is:")
print(dop_mat)
# print("1 (singularity flag not raised): DOP matrix is:")
# print(dop_mat)
assert np.any(np.isnan(dop_mat)) or np.any(np.abs(dop_mat) > 1e6)

dop_scalars = [val for key, val in dop_dict.items() if key != 'dop_matrix']
print("1: DOP Values are:", dop_scalars)
# print("1: DOP Values are:", dop_scalars)
assert np.any(np.isnan(dop_scalars)) or np.any(np.abs(dop_scalars) > 1e6)

except np.linalg.LinAlgError:
Expand All @@ -428,7 +428,7 @@ def test_singularity_dop(navdata):
# Now check that we get all NaNs for the DOP values when we have a
# singularity
for key, val in dop_dict.items():
print("2:", key, " : ", val)
# print("2:", key, " : ", val)
assert np.all(np.isnan(val))


Expand Down

0 comments on commit aad7449

Please sign in to comment.