Skip to content

Commit

Permalink
Revert "Test diagnostic changes"
Browse files Browse the repository at this point in the history
This reverts commit f969124.

Reverting more test diagnostic code
  • Loading branch information
braden6521 committed Mar 21, 2024
1 parent f944aff commit ab00b30
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ubi8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ jobs:
run: |
python3 -m pip install -r ../requirements.txt
export PYTHONPATH=$PWD/../
pytest --color=yes -rs -vv --cov=. --cov-report term --cov-config=.coveragerc -s -k test_image_points
pytest --color=yes -rs -vv --cov=. --cov-report term --cov-config=.coveragerc
10 changes: 0 additions & 10 deletions opencsp/app/camera_calibration/test/test_camera_calibration.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,16 +134,6 @@ def setup_class(cls, regenerate=False):
cls.calibration_error_exp = data['calibration_error']
cls.reprojection_errors_exp = data['reprojection_errors']

print([a.data[:, :2] for a in p_image[:2]])
print('\n')
print(np.array([a.data[:, :2] for a in p_image[:2]]))
print('\n')
print(cls.p_image_points[:2, :2, :2])
# pts_test = cls.p_image_points[:2, :2, :2]
# pts_test_exp = cls.p_image_points_exp[:2, :2, :2]
# print(pts_test_exp)
# print(pts_test)

def test_image_points(self):
np.testing.assert_allclose(self.p_image_points, self.p_image_points_exp)

Expand Down

0 comments on commit ab00b30

Please sign in to comment.