diff --git a/.github/workflows/ubi8.yml b/.github/workflows/ubi8.yml index fce7d68b4..fbdb2cec2 100644 --- a/.github/workflows/ubi8.yml +++ b/.github/workflows/ubi8.yml @@ -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 \ No newline at end of file + pytest --color=yes -rs -vv --cov=. --cov-report term --cov-config=.coveragerc -s -k test_image_points \ No newline at end of file diff --git a/opencsp/app/camera_calibration/test/test_camera_calibration.py b/opencsp/app/camera_calibration/test/test_camera_calibration.py index 3b13feb9e..d645f0dfc 100644 --- a/opencsp/app/camera_calibration/test/test_camera_calibration.py +++ b/opencsp/app/camera_calibration/test/test_camera_calibration.py @@ -133,6 +133,16 @@ 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)